Class OAuthCredentials
Hierarchy
- OAuthCredentials
Index
Constructors
constructor
- new OAuth
Credentials (headers): OAuthCredentials -
Create a new instance of OAuthCredentials.
Parameters
-
headers: undefined | SecretsType
The headers containing OAuth secrets. Only
access-tokenwill be used from the provided headers
Returns OAuthCredentials
-
Properties
Readonly accessToken
accessToken : undefined | string
Accessors
authHeader
- get authHeader(): AuthHeader
-
Get the authentication header based on the access token.
Returns AuthHeader
The authentication header.
Generated using TypeDoc
Represents OAuth credentials. includes only access token