Class: BearerCredentials
@divine/uri.BearerCredentials
A helper implementation of Credentials for Bearer tokens.
Implements
Constructors
constructor
• new BearerCredentials(token
)
Constructs a new BearerCredentials/Credentials object.
Parameters
Name | Type | Description |
---|---|---|
token | string | The Bearer token, to be stored in identity. |
Defined in
uri/src/auth-schemes/bearer.ts:13
Properties
identity
• identity: string
The identity of the entity to be authorizied, like a user name of identity token.