TokenResponse

@Serializable
data class TokenResponse(val accessToken: String, val refreshToken: String, val expiresIn: Int, val scopes: List<String>, val tokenType: String)

Constructors

Link copied to clipboard
constructor(accessToken: String, refreshToken: String, expiresIn: Int, scopes: List<String>, tokenType: String)

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
Link copied to clipboard
@SerialName(value = "scope")
val scopes: List<String>
Link copied to clipboard
@SerialName(value = "token_type")
val tokenType: String