Returns
Promise<null | number>
The expiration time of the access token for the current user, or null if no user is signed in.
function getAccessTokenExpiration(): Promise<null | number>;
Promise<null | number>
The expiration time of the access token for the current user, or null if no user is signed in.
const accessTokenExpiration = await getAccessTokenExpiration();
Was this page helpful?