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

# MfaRequiredCallback

```ts theme={null}
type MfaRequiredCallback = (context: MfaVerificationContext) => void;
```

Callback function invoked when MFA verification is required.
The consumer should show their custom MFA UI when this is called.

This callback does not need to be memoized - the hook handles stability internally.

## Parameters

| Parameter | Type                     | Description                                                |
| --------- | ------------------------ | ---------------------------------------------------------- |
| `context` | `MfaVerificationContext` | The MFA verification context containing available methods. |

## Returns

`void`
