Options
All
  • Public
  • Public/Protected
  • All
Menu

Module recipe/multifactorauth

Index

References

Re-exports RecipeFunctionOptions

Type Aliases

PostAPIHookContext: RecipePostAPIHookContext<PreAndPostAPIHookAction>
PreAPIHookContext: RecipePreAPIHookContext<PreAndPostAPIHookAction>
PreAndPostAPIHookAction: "GET_MFA_INFO"
RecipeInterface: { resyncSessionAndFetchMFAInfo: any }

Type declaration

  • resyncSessionAndFetchMFAInfo:function
    • resyncSessionAndFetchMFAInfo(input: { options?: RecipeFunctionOptions; userContext: any }): Promise<{ emails: Record<string, string[] | undefined>; factors: MFAFactorInfo; fetchResponse: Response; phoneNumbers: Record<string, string[] | undefined>; status: "OK" }>
UserInput: { override?: { functions?: any } } & RecipeModuleUserInput<PreAndPostAPIHookAction>

Variables

MultiFactorAuthClaim: MultiFactorAuthClaimClass = RecipeWrapper.MultiFactorAuthClaim

Functions

  • init(config?: UserInput): CreateRecipeFunction<"GET_MFA_INFO">
  • resyncSessionAndFetchMFAInfo(input?: { options?: RecipeFunctionOptions; userContext?: any }): Promise<{ emails: Record<string, undefined | string[]>; factors: MFAFactorInfo; fetchResponse: Response; phoneNumbers: Record<string, undefined | string[]>; status: "OK" }>

Generated using TypeDoc