Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default

Index

Constructors

Properties

axiosInterceptorQueue: (() => void)[] = []
getClaimValue: (<T>(input: { claim: SessionClaim<T>; userContext?: any }) => Promise<undefined | T>) = ...

Type declaration

    • <T>(input: { claim: SessionClaim<T>; userContext?: any }): Promise<undefined | T>
    • Type Parameters

      • T

      Parameters

      Returns Promise<undefined | T>

getInvalidClaimsFromResponse: ((input: { response: Response | { data: any }; userContext?: any }) => Promise<ClaimValidationError[]>) = ...

Type declaration

    • Parameters

      • input: { response: Response | { data: any }; userContext?: any }
        • response: Response | { data: any }
        • Optional userContext?: any

      Returns Promise<ClaimValidationError[]>

Methods

  • addAxiosInterceptors(axiosInstance: any, userContext?: any): void
  • deprecated

    Parameters

    • axiosInstance: any
    • Optional userContext: any

    Returns void

  • attemptRefreshingSession(): Promise<boolean>
  • doesSessionExist(input?: { userContext?: any }): Promise<boolean>
  • Parameters

    • Optional input: { userContext?: any }
      • Optional userContext?: any

    Returns Promise<boolean>

  • getAccessToken(input?: { userContext?: any }): Promise<undefined | string>
  • Parameters

    • Optional input: { userContext?: any }
      • Optional userContext?: any

    Returns Promise<undefined | string>

  • getAccessTokenPayloadSecurely(input?: { userContext?: any }): Promise<any>
  • Parameters

    • Optional input: { userContext?: any }
      • Optional userContext?: any

    Returns Promise<any>

  • getUserId(input?: { userContext?: any }): Promise<string>
  • Parameters

    • Optional input: { userContext?: any }
      • Optional userContext?: any

    Returns Promise<string>

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

    • Optional input: { userContext?: any }
      • Optional userContext?: any

    Returns Promise<void>

Generated using TypeDoc