supertokens-web-js/recipe/multifactorauth/types
References documentation for the supertokens-web-js/recipe/multifactorauth/types package
Type Aliases
InputType
type InputType = AuthRecipeInputType<PreAndPostAPIHookAction> & UserInput;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
MFAClaimValue
type MFAClaimValue = object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
c |
Record<string, number | undefined> |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
v |
boolean |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
MFAFactorInfo
type MFAFactorInfo = object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
Properties
| Property | Type | Defined in |
|---|---|---|
allowedToSetup |
string[] |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
alreadySetup |
string[] |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
next |
string[] |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
MFARequirement
type MFARequirement = string;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
MFARequirementList
type MFARequirementList = (
| {
oneOf: MFARequirement[];
}
| {
allOfInAnyOrder: MFARequirement[];
}
| MFARequirement)[];
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
NormalisedInputType
type NormalisedInputType = AuthRecipeNormalisedInputType<PreAndPostAPIHookAction> & object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
override |
object |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
override.functions() |
(originalImplementation, builder) => RecipeInterface |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
PostAPIHookContext
type PostAPIHookContext = RecipePostAPIHookContext<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
PreAndPostAPIHookAction
type PreAndPostAPIHookAction = "GET_MFA_INFO";
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
PreAPIHookContext
type PreAPIHookContext = RecipePreAPIHookContext<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
RecipeInterface
type RecipeInterface = object;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
Properties
| Property | Type | Defined 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 |
UserInput
type UserInput = object & RecipeModuleUserInput<PreAndPostAPIHookAction>;
Defined in: tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts
Type Declaration
| Name | Type | Defined in |
|---|---|---|
override? |
object |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |
override.functions()? |
(originalImplementation, builder) => RecipeInterface |
tmp/supertokens-web-js/lib/ts/recipe/multifactorauth/types.ts |