Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StitchAppAuthRoutes
    • StitchBrowserAppAuthRoutes

Implements

  • StitchAuthRoutes

Index

Constructors

constructor

Properties

baseAuthRoute

baseAuthRoute: string

profileRoute

profileRoute: string

sessionRoute

sessionRoute: string

Methods

getAuthProviderExtensionRoute

  • getAuthProviderExtensionRoute(providerName: string, path: string): string
  • Parameters

    • providerName: string
    • path: string

    Returns string

getAuthProviderLinkRedirectRoute

  • getAuthProviderLinkRedirectRoute(credential: StitchRedirectCredential, redirectUrl: string, state: string, deviceInfo: Record<string, any>): string

getAuthProviderLinkRoute

  • getAuthProviderLinkRoute(providerName: string): string
  • Parameters

    • providerName: string

    Returns string

getAuthProviderLoginRoute

  • getAuthProviderLoginRoute(providerName: string): string
  • Parameters

    • providerName: string

    Returns string

getAuthProviderRedirectRoute

  • getAuthProviderRedirectRoute(credential: StitchRedirectCredential, redirectUrl: string, state: string, deviceInfo: Record<string, any>): string

getAuthProviderRoute

  • getAuthProviderRoute(providerName: string): string
  • Parameters

    • providerName: string

    Returns string

Private uriEncodeObject

  • uriEncodeObject(obj: object): string
  • Utility function to encode a JSON object into a valid string that can be inserted in a URI. The object is first stringified, then encoded in base64, and finally encoded via the builtin encodeURIComponent function.

    Parameters

    • obj: object

      The object to encode

    Returns string

    The encoded object

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc