Data class representing an OIDC token.
The access token.
The duration in seconds for which the token is valid.
The ID token.
Checks if the token is expired.
The refresh token.
The scope of the token.
The type of the token.
Checks if the token is expired considering a threshold.