Interface AccessToken

Access Token which represents the access token received from an OAuth2 authentication request

Hierarchy

  • AccessToken

Properties

access_token: Token

The access token string as issued by the authorization server

created_at: number

A number representing the timestamp at which the access token was created

expires_in: number

If the access token expires, the server should reply with the duration of time the access token is granted for

refresh_token: string

Used by clients to exchange a refresh token for an access token when the access token has expired

scope: string

A string representing the scope of the access token

token_type: "Bearer"

A string representing the token type, which is always "Bearer" for OAuth2

Generated using TypeDoc