Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default<T, Action, R, N> Abstract

Type Parameters

  • T

  • Action

  • R

  • N extends NormalisedConfig<T, Action, R | OnHandleEventContext>

Hierarchy

  • default<T, Action, R | OnHandleEventContext, N>
    • default

Index

Constructors

  • new default<T, Action, R, N>(config: NormalisedConfigWithAppInfoAndRecipeID<N>): default<T, Action, R, N>

Properties

config: NormalisedConfigWithAppInfoAndRecipeID<N>
firstFactorIds: string[]
recipeID: string

Methods

  • doesSessionExist(input?: { userContext?: UserContext }): Promise<boolean>
  • getAuthRecipeDefaultRedirectionURL(_context: T): Promise<string>
  • getDefaultRedirectionURL(_: NormalisedGetRedirectionURLContext<T>, _userContext: UserContext): Promise<string>
  • getFirstFactorsForAuthPage(): string[]
  • getRedirectUrl(context: NormalisedGetRedirectionURLContext<GetRedirectionURLContextType>, userContext: UserContext): Promise<null | string>
  • redirect(context: NormalisedGetRedirectionURLContext<GetRedirectionURLContextType>, navigate: undefined | Navigate, queryParams?: Record<string, string>, userContext?: UserContext): Promise<void>
  • Parameters

    • context: NormalisedGetRedirectionURLContext<GetRedirectionURLContextType>
    • navigate: undefined | Navigate
    • Optional queryParams: Record<string, string>
    • Optional userContext: UserContext

    Returns Promise<void>

  • signOut(input?: { userContext?: UserContext }): Promise<void>

Generated using TypeDoc