OidcTokenRefreshResult
class OidcTokenRefreshResult(val accessToken: String, val refreshToken: String? = null, val expiresIn: Duration? = null, val tokenType: String, val scope: String? = null, val idToken: OidcToken.Id? = null)(source)
Token response returned by refreshToken.
Contains raw token response fields, so applications that manage their own tokens can decide how to persist, rotate, or expose token material.
Properties
Link copied to clipboard
Access token returned by the token endpoint.
Link copied to clipboard
Verified ID-token when idToken is present, otherwise null.
Link copied to clipboard
Raw refresh token returned by the token endpoint, or null when the provider did not rotate or return one. Persist refreshToken when it is present; otherwise keep the refresh token used for the request.