Access Token
data class AccessToken(@Json(name = id ) id: String, @Json(name = token ) token: String, @Json(name = valid_until ) validUntil: LocalDateTime?, @Json(name = created_at ) createdAt: LocalDateTime, @Json(name = object ) object: String)
Content copied to clipboard
Parameters
id
access Token ID
token
The Access Token
validUntil
The date-time this token expires. Note that the access token is valid for one hour. After one hour you have to refresh the token, to be valid another hour.
createdAt
Date of creation
object
The value bank_user_access_token
Constructors
AccessToken
Link copied to clipboard
fun AccessToken(@Json(name = id ) id: String, @Json(name = token ) token: String, @Json(name = valid_until ) validUntil: LocalDateTime? = null, @Json(name = created_at ) createdAt: LocalDateTime, @Json(name = object ) object: String)
Content copied to clipboard
access Token ID