import { AccessToken } from "https://deno.land/x/authlete_deno@v1.2.10/mod.ts";
Information about an access token.
Properties
The timestamp at which the access token was first created. Note that the value of the timestamp is not changed when the access token is refreshed with the refresh token.
The grant type of the access token when the access token was created. Note that the value of the grant type is not changed when the access token is refreshed using the refresh token.
The timestamp at which the access token was last refreshed using
the refresh token. 0
is returned if it has never been refreshed.
The properties associated with the access token.
The timestamp at which the refresh token will expire. 0
is returned
if refreshTokenHash
is null
.
The subject (= unique user ID) associated with the access token
or null
if the access token was created using the Client Credentials
flow.