AccessToken interface
Represents an access token with an expiration time.
Properties
expires |
The access token's expiration timestamp in milliseconds, UNIX epoch time. |
refresh |
The timestamp when the access token should be refreshed, in milliseconds, UNIX epoch time. |
token | The access token returned by the authentication service. |
token |
Type of token - |
Property Details
expiresOnTimestamp
The access token's expiration timestamp in milliseconds, UNIX epoch time.
expiresOnTimestamp: number
Property Value
number
refreshAfterTimestamp
The timestamp when the access token should be refreshed, in milliseconds, UNIX epoch time.
refreshAfterTimestamp?: number
Property Value
number
token
The access token returned by the authentication service.
token: string
Property Value
string
tokenType
Type of token - Bearer
or pop
tokenType?: "Bearer" | "pop"
Property Value
"Bearer" | "pop"