# MfaEnrollment

- [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#SCHEMA_REPRESENTATION)
- [TotpInfo](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#TotpInfo)
- [EmailInfo](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#EmailInfo)
  - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#EmailInfo.SCHEMA_REPRESENTATION)

Information on which multi-factor authentication (MFA) providers are enabled for an account.

| JSON representation |
|---|
| ``` { "mfaEnrollmentId": string, "displayName": string, "enrolledAt": string, // Union field `mfa_value` can be only one of the following: "phoneInfo": string, "totpInfo": { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#TotpInfo`) }, "emailInfo": { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#EmailInfo`) } // End of list of possible types for union field `mfa_value`. // Union field `unobfuscated_mfa_value` can be only one of the following: "unobfuscatedPhoneInfo": string // End of list of possible types for union field `unobfuscated_mfa_value`. } ``` |

| Fields ||
|---|---|
| `mfaEnrollmentId` | `string` ID of this MFA option. |
| `displayName` | `string` Display name for this mfa option e.g. "corp cell phone". |
| `enrolledAt` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp when the account enrolled this second factor. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| Union field `mfa_value`. The defining value of the MFA option. `mfa_value` can be only one of the following: ||
| `phoneInfo` | `string` Normally this will show the phone number associated with this enrollment. In some situations, such as after a first factor sign in, it will only show the obfuscated version of the associated phone number. |
| `totpInfo` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#TotpInfo`)`` Contains information specific to TOTP MFA. |
| `emailInfo` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/MfaEnrollment#EmailInfo`)`` Contains information specific to email MFA. |
| Union field `unobfuscated_mfa_value`. `unobfuscated_mfa_value` can be only one of the following: ||
| `unobfuscatedPhoneInfo` | `string` Output only. Unobfuscated phoneInfo. |

## TotpInfo

This type has no fields.
Information about TOTP MFA.

## EmailInfo

Information about email MFA.

| JSON representation |
|---|
| ``` { "emailAddress": string } ``` |

| Fields ||
|---|---|
| `emailAddress` | `string` Email address that a MFA verification should be sent to. |