TokenResponse

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

Constructors

Link copied to clipboard
constructor(accessToken: String, tokenType: String, expiresIn: Int, refreshToken: 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 = "refresh_token")
val refreshToken: String? = null
Link copied to clipboard
val scope: String? = null
Link copied to clipboard
@SerialName(value = "token_type")
val tokenType: String