Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

Properties

ComponentsOverrideProvider: FC<PropsWithChildren<{ components: ComponentOverrideMap }>> = RecipeComponentsOverrideContextProvider
FactorIds: { EMAILPASSWORD: "emailpassword"; LINK_EMAIL: "link-email"; LINK_PHONE: "link-phone"; OTP_EMAIL: "otp-email"; OTP_PHONE: "otp-phone"; THIRDPARTY: "thirdparty"; TOTP: "totp" } = FactorIds

Type declaration

  • EMAILPASSWORD: "emailpassword"
  • LINK_EMAIL: "link-email"
  • LINK_PHONE: "link-phone"
  • OTP_EMAIL: "otp-email"
  • OTP_PHONE: "otp-phone"
  • THIRDPARTY: "thirdparty"
  • TOTP: "totp"
MultiFactorAuthClaim: MultiFactorAuthClaimClass = MultiFactorAuthRecipe.MultiFactorAuthClaim

Methods

  • redirectToFactor(input: { factorId: string; forceSetup?: boolean; navigate?: Navigate; redirectBack?: boolean; stepUp?: boolean; userContext?: UserContext }): Promise<void>
  • Parameters

    • input: { factorId: string; forceSetup?: boolean; navigate?: Navigate; redirectBack?: boolean; stepUp?: boolean; userContext?: UserContext }
      • factorId: string
      • Optional forceSetup?: boolean
      • Optional navigate?: Navigate
      • Optional redirectBack?: boolean
      • Optional stepUp?: boolean
      • Optional userContext?: UserContext

    Returns Promise<void>

  • redirectToFactorChooser(input: { navigate?: Navigate; nextFactorOptions?: string[]; redirectBack?: boolean; stepUp?: boolean; userContext?: UserContext }): Promise<void>
  • Parameters

    • input: { navigate?: Navigate; nextFactorOptions?: string[]; redirectBack?: boolean; stepUp?: boolean; userContext?: UserContext }
      • Optional navigate?: Navigate
      • Optional nextFactorOptions?: string[]
      • Optional redirectBack?: boolean
      • Optional stepUp?: boolean
      • Optional userContext?: UserContext

    Returns Promise<void>

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

    • Optional input: { options?: RecipeFunctionOptions; userContext?: UserContext }
      • Optional options?: RecipeFunctionOptions
      • Optional userContext?: UserContext

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

Generated using TypeDoc