OAuth2Token

data class OAuth2Token(val accessToken: String, val tokenType: String, val expiresIn: Long? = null, val refreshToken: String? = null, val scope: String? = null, val expired: Boolean = false)(source)

Constructors

Link copied to clipboard
constructor(accessToken: String, tokenType: String, expiresIn: Long? = null, refreshToken: String? = null, scope: String? = null, expired: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "access_token")
val accessToken: String
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "expires_in")
val expiresIn: Long?
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