---
title: supertokens-web-js/recipe/multifactorauth/types
description: References documentation for the supertokens-web-js/recipe/multifactorauth/types package
sidebar:
  order: 80
---

## Type Aliases

### InputType

```ts check=false reason="Generated API signature"
type InputType = AuthRecipeInputType<PreAndPostAPIHookAction> & UserInput;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:41](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L41)

***

### MFAClaimValue

```ts check=false reason="Generated API signature"
type MFAClaimValue = object;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:80](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L80)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="c"></a> `c` | `Record`\<`string`, `number` \| `undefined`\> | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:81](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L81) |
| <a id="v"></a> `v` | `boolean` | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:82](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L82) |

***

### MFAFactorInfo

```ts check=false reason="Generated API signature"
type MFAFactorInfo = object;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:52](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L52)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="allowedtosetup"></a> `allowedToSetup` | `string`[] | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:54](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L54) |
| <a id="alreadysetup"></a> `alreadySetup` | `string`[] | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:53](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L53) |
| <a id="next"></a> `next` | `string`[] | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:55](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L55) |

***

### MFARequirement

```ts check=false reason="Generated API signature"
type MFARequirement = string;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:68](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L68)

***

### MFARequirementList

```ts check=false reason="Generated API signature"
type MFARequirementList = (
  | {
  oneOf: MFARequirement[];
}
  | {
  allOfInAnyOrder: MFARequirement[];
}
  | MFARequirement)[];
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:70](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L70)

***

### NormalisedInputType

```ts check=false reason="Generated API signature"
type NormalisedInputType = AuthRecipeNormalisedInputType<PreAndPostAPIHookAction> & object;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:43](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L43)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `override` | `object` | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:44](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L44) |
| `override.functions()` | (`originalImplementation`, `builder`) => [`RecipeInterface`](#recipeinterface) | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:45](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L45) |

***

### PostAPIHookContext

```ts check=false reason="Generated API signature"
type PostAPIHookContext = RecipePostAPIHookContext<PreAndPostAPIHookAction>;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:30](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L30)

***

### PreAndPostAPIHookAction

```ts check=false reason="Generated API signature"
type PreAndPostAPIHookAction = "GET_MFA_INFO";
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:27](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L27)

***

### PreAPIHookContext

```ts check=false reason="Generated API signature"
type PreAPIHookContext = RecipePreAPIHookContext<PreAndPostAPIHookAction>;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:29](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L29)

***

### RecipeInterface

```ts check=false reason="Generated API signature"
type RecipeInterface = object;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:58](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L58)

#### Properties

| Property | Type | Defined in |
| ------ | ------ | ------ |
| <a id="resyncsessionandfetchmfainfo"></a> `resyncSessionAndFetchMFAInfo` | (`input`) => `Promise`\<\{ `emails`: `Record`\<`string`, `string`[] \| `undefined`\>; `factors`: [`MFAFactorInfo`](#mfafactorinfo); `fetchResponse`: `Response`; `phoneNumbers`: `Record`\<`string`, `string`[] \| `undefined`\>; `status`: `"OK"`; \}\> | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:59](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L59) |

***

### UserInput

```ts check=false reason="Generated API signature"
type UserInput = object & RecipeModuleUserInput<PreAndPostAPIHookAction>;
```

Defined in: [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:32](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L32)

#### Type Declaration

| Name | Type | Defined in |
| ------ | ------ | ------ |
| `override?` | `object` | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:33](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L33) |
| `override.functions()?` | (`originalImplementation`, `builder`) => [`RecipeInterface`](#recipeinterface) | [tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:34](https://github.com/supertokens/supertokens-web-js/blob/be2e0fd7dcade8352cdc9639abe968e5cda5b1cd/lib/ts/recipe/multifactorauth/types.ts#L34) |
