Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TokenCredential

Package version

Represents a credential capable of providing an authentication token.

Hierarchy

  • TokenCredential

Index

Methods

Methods

getToken

  • Gets the token provided by this credential.

    Parameters

    • scopes: string | string[]

      The list of scopes for which the token will have access.

    • Optional options: GetTokenOptions

      The options used to configure any requests this TokenCredential implementation might make.

    Returns Promise<AccessToken | null>

Generated using TypeDoc