Skip to main content
References

MFA Types

Type Aliases

InputType

type InputType = AuthRecipeInputType<PreAndPostAPIHookAction> & UserInput;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:41

MFAClaimValue

type MFAClaimValue = object;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:80

Properties

MFAFactorInfo

type MFAFactorInfo = object;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:52

Properties

MFARequirement

type MFARequirement = string;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:68

MFARequirementList

type MFARequirementList = (
| {
oneOf: MFARequirement[];
}
| {
allOfInAnyOrder: MFARequirement[];
}
| MFARequirement)[];

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:70

NormalisedInputType

type NormalisedInputType = AuthRecipeNormalisedInputType<PreAndPostAPIHookAction> & object;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:43

Type Declaration

PostAPIHookContext

type PostAPIHookContext = RecipePostAPIHookContext<PreAndPostAPIHookAction>;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:30

PreAndPostAPIHookAction

type PreAndPostAPIHookAction = "GET_MFA_INFO";

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:27

PreAPIHookContext

type PreAPIHookContext = RecipePreAPIHookContext<PreAndPostAPIHookAction>;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:29

RecipeInterface

type RecipeInterface = object;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:58

Properties

PropertyTypeDefined in
resyncSessionAndFetchMFAInfo(input) => Promise<{ emails: Record<string, string[] | undefined>; factors: MFAFactorInfo; fetchResponse: Response; phoneNumbers: Record<string, string[] | undefined>; status: "OK"; }>tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:59

UserInput

type UserInput = object & RecipeModuleUserInput<PreAndPostAPIHookAction>;

Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts:32

Type Declaration