AccessToken interface

Represents an access token with an expiration time.

Properties

expiresOnTimestamp

The access token's expiration timestamp in milliseconds, UNIX epoch time.

refreshAfterTimestamp

The timestamp when the access token should be refreshed, in milliseconds, UNIX epoch time.

token

The access token returned by the authentication service.

tokenType

Type of token - Bearer or pop

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"