TokenData

@Serializable
data class TokenData(val accessToken: String, val tokenType: String, val expiresIn: Int, val refreshToken: String, val idToken: String? = null, val scope: String? = null)

OAuth2.0/OIDC トークンレスポンス RFC 6749 Section 5.1 および OpenID Connect Core 1.0 Section 3.1.3.3 準拠

Constructors

Link copied to clipboard
constructor(accessToken: String, tokenType: String, expiresIn: Int, refreshToken: String, idToken: String? = null, scope: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "access_token")
val accessToken: String
Link copied to clipboard
@SerialName(value = "expires_in")
val expiresIn: Int
Link copied to clipboard
@SerialName(value = "id_token")
val idToken: String?
Link copied to clipboard
@SerialName(value = "refresh_token")
val refreshToken: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "token_type")
val tokenType: String