Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Type Parameters

  • T

  • Action

  • R

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

Hierarchy

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

Index

Constructors

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

Properties

config: N

Methods

  • doesSessionExist(input?: { userContext?: any }): Promise<boolean>
  • getAuthRecipeDefaultRedirectionURL(context: GetRedirectionURLContext): Promise<string>
  • getDefaultRedirectionURL(_: GetRedirectionURLContext | T): Promise<string>
  • getFeatureComponent(componentName: string, props: any): Element
  • getFeatures(): RecipeFeatureComponentMap
  • getRedirectUrl(context: GetRedirectionURLContextType): Promise<string>
  • redirect(context: GetRedirectionURLContextType, history?: any, queryParams?: Record<string, string>): Promise<void>
  • redirectToAuthWithRedirectToPath(show?: "signin" | "signup", history?: any, queryParams?: any): Promise<void>
  • redirectToAuthWithoutRedirectToPath(show?: "signin" | "signup", history?: any, queryParams?: any): Promise<void>
  • signOut(input?: { userContext?: any }): Promise<void>

Generated using TypeDoc