Represents OAuth credentials. includes only access token

Hierarchy

  • OAuthCredentials

Constructors

Properties

Accessors

Constructors

  • Create a new instance of OAuthCredentials.

    Parameters

    • headers: undefined | SecretsType

      The headers containing OAuth secrets. Only access-token will be used from the provided headers

    Returns OAuthCredentials

Properties

accessToken: undefined | string

Accessors

  • get authHeader(): AuthHeader
  • Get the authentication header based on the access token.

    Returns AuthHeader

    The authentication header.

Generated using TypeDoc