Options
All
  • Public
  • Public/Protected
  • All
Menu

A TokenProvider that obtains a new token using a refresh token.

Hierarchy

Index

Constructors

constructor

Properties

Private Readonly audience

audience: string

Private refreshToken

refreshToken: string

Protected Optional token

token: Token

Private Readonly tokenEndpoint

tokenEndpoint: string

Methods

getToken

  • getToken(): Promise<string>
  • Returns a valid Bearer token to be presented to the Parcel gateway.

    Returns Promise<string>

Protected renewToken

  • renewToken(): Promise<Token>

Static isTokenProvider

Generated using TypeDoc