AccessToken

data class AccessToken(val accessToken: String? = null, val expirationDatetimeUtc: IsoDateTime? = null, val tokenType: String? = null)(source)

Access token returned by POST /v1/tokens/access.

Constructors

Link copied to clipboard
constructor(accessToken: String? = null, expirationDatetimeUtc: IsoDateTime? = null, tokenType: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "access_token")
val accessToken: String?

Bearer token used to call catalog endpoints.

Link copied to clipboard
@SerialName(value = "expiration_datetime_utc")
val expirationDatetimeUtc: IsoDateTime?

Instant when the access token expires, in UTC.

Link copied to clipboard
@SerialName(value = "token_type")
val tokenType: String?

Token type. The catalog returns Bearer.