Options
All
  • Public
  • Public/Protected
  • All
Menu

A TokenProvider hands out OIDC access tokens.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected Optional token

token: Token

Methods

getToken

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

    Returns Promise<string>

Protected Abstract renewToken

  • renewToken(): Promise<Token>
  • Returns a renewed Token.

    Returns Promise<Token>

Static isTokenProvider

  • Parameters

    • thing: any

    Returns thing is TokenProvider

Generated using TypeDoc