Number of seconds until the access token expires.
Returns true
if the access_token has expired.
The type of access token, Usually "Bearer".
Performs refresh_token grant type exchange and updates the session's access token.
let accessToken = req.oidc.accessToken;
if (accessToken.isExpired()) {
accessToken = await accessToken.refresh();
}
Optional
params: RefreshParams
The access token itself, can be an opaque string, JWT, or non-JWT token.