> ## 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.

# getEnabledMfaMethods

```ts theme={null}
function getEnabledMfaMethods(): MfaMethod[];
```

Gets the list of MFA methods enabled in the project configuration.

## Returns

[`MfaMethod`](/sdks/cdp-sdks-v2/frontend/@coinbase/cdp-core/Type-Aliases/MfaMethod)\[]

An array of enabled MFA methods.

## Example

```typescript theme={null}
const config = getMfaConfigState();
if (config) {
  const methods = getEnabledMfaMethods(config);
  // methods = ['totp', 'sms']
}
```
