Hierarchy

  • Tokens

Properties

accessToken?: string = null
accessTokenCookieName: string = ...
identityToken?: string = null
identityTokenCookieName: string = '.identity-token'
impersonationToken?: string = null
impersonationTokenCookieName: string = '.impersonation-token'
refreshToken?: string = null
refreshTokenCookieName: string = '.refresh-token'

Methods

  • Manage Access Tokens

    Returns string

  • Manage Identity Tokens

    Returns string

  • Manage Impersonation Tokens

    Returns string

  • Manage Refresh Tokens

    Returns string

  • If no token is provided will attempt to get and validate token stored in sdk. If token is invalid or missing it will also attempt to refresh the token if possible

    Parameters

    • Optional tokenToValidate: string

    Returns Promise<string>

  • Parameters

    • token: string

    Returns void

  • Parameters

    • token: string

    Returns void

  • Parameters

    • token: string

    Returns void

  • Parameters

    • token: string

    Returns void

  • Parameters

    • token: string

    Returns boolean

  • Parameters

    • accessToken: string

    Returns Promise<string>

Generated using TypeDoc