> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EnrollMfaState

The state of the EnrollMfa component.

## Properties

| Property                                 | Type                                                                                                  | Description                                                 |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| <a id="method" /> `method`               | `"totp"` \| `"sms"`                                                                                   | The currently selected MFA method.                          |
| <a id="methods" /> `methods`             | (`"totp"` \| `"sms"`)\[]                                                                              | The available MFA methods for enrollment.                   |
| <a id="step" /> `step`                   | [`EnrollMfaStep`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-react/Type-Aliases/EnrollMfaStep)          | The current step of the enrollment flow.                    |
| <a id="flowdirection" /> `flowDirection` | `"left"` \| `"right"`                                                                                 | The direction of the flow.                                  |
| <a id="mfacode" /> `mfaCode`             | `string`                                                                                              | The MFA code entered by the user (for verification step).   |
| <a id="authurl" /> `authUrl`             | `null` \| `string`                                                                                    | The otpauth:// URL for QR code generation (from initiate).  |
| <a id="secret" /> `secret`               | `null` \| `string`                                                                                    | The base32-encoded secret for manual entry (from initiate). |
| <a id="phonenumber" /> `phoneNumber`     | `string`                                                                                              | The phone number for SMS MFA enrollment (E.164 format).     |
| <a id="initiatedat" /> `initiatedAt`     | `null` \| `number`                                                                                    | The timestamp when enrollment was initiated.                |
| <a id="isexpired" /> `isExpired`         | `boolean`                                                                                             | Whether the enrollment session has expired.                 |
| <a id="error" /> `error`                 | \| `null` \| `string` \| [`APIError`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Classes/APIError) | Error message or APIError object.                           |
| <a id="ispending" /> `isPending`         | `boolean`                                                                                             | Whether a request is pending.                               |
| <a id="issuccess" /> `isSuccess`         | `boolean`                                                                                             | Whether the enrollment was successful.                      |
