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(_: T, _userContext: UserContext): Promise<string>
  • getRedirectUrl(context: GetRedirectionURLContextType, userContext: UserContext): Promise<null | string>
  • redirect(context: GetRedirectionURLContextType, navigate?: Navigate, queryParams?: Record<string, string>, userContext?: UserContext): Promise<void>
  • signOut(input?: { userContext?: UserContext }): Promise<void>

Generated using TypeDoc