Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TokenCredentials

Credentials used by any AuthenticationProvider that requires Tokens, such as OAuth2 or JWT to perform its authentication

Hierarchy

  • TokenCredentials

Implements

  • any

Index

Constructors

constructor

Methods

addScope

  • Parameters

    • scopes: string

    Returns TokenCredentials

getScopes

  • getScopes(): string[]
  • Returns string[]

getToken

  • getToken(): string
  • Returns string

setScopes

  • Parameters

    • scopes: string[]

    Returns TokenCredentials

setToken

  • Parameters

    • token: string

    Returns TokenCredentials

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc