Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

Properties

MultiFactorAuthClaim: MultiFactorAuthClaimClass = Recipe.MultiFactorAuthClaim

Methods

  • 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" }>
  • Loads information about what factors the current session can set up/complete and updates the requirements in the session payload

    Parameters

    Returns Promise<{ emails: Record<string, undefined | string[]>; factors: MFAFactorInfo; fetchResponse: Response; phoneNumbers: Record<string, undefined | string[]>; status: "OK" }>

    { status: "OK", ...} if successful

Generated using TypeDoc