Type Aliases
GetRedirectionURLContext
GetRedirectionURLContext: { action: "FACTOR_CHOOSER"; nextFactorOptions?: string[]; stepUp?: boolean } | { action: "GO_TO_FACTOR"; factorId: string; forceSetup?: boolean; stepUp?: boolean }
OnHandleEventContext
OnHandleEventContext: { action: "FACTOR_CHOOSEN"; factorId: string }
Type declaration
action: "FACTOR_CHOOSEN"
factorId: string
PreAPIHookContext
PreAPIHookContext: { action: PreAndPostAPIHookAction; requestInit: RequestInit; url: string; userContext: UserContext }
Type declaration
action: PreAndPostAPIHookAction
requestInit: RequestInit
url: string
userContext: UserContext
RecipeInterface
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" }>
Parameters
input: { options?: RecipeFunctionOptions; userContext: any }
Optional options?: RecipeFunctionOptions
userContext: any
Returns Promise<{ emails: Record<string, string[] | undefined>; factors: MFAFactorInfo; fetchResponse: Response; phoneNumbers: Record<string, string[] | undefined>; status: "OK" }>
UserInput
User
Input: { disableDefaultUI?: boolean; factorChooserScreen?: FeatureBaseConfig; firstFactors?: string[]; override?: { functions?: any }; getSecondaryFactorInfo?: any } & RecipeModuleUserInput<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext>