SubtokenDetails

@Serializable
data class SubtokenDetails(val expiresAt: String, val issuedAt: String, val urls: List<String>)

Additional information about a subtoken

Parameters

expiresAt

if a subtoken is given, ISO8601 timestamp indicating when the given subtoken expires

issuedAt

if a subtoken is given, ISO8601 timestamp indicating when the given subtoken was created

urls

an array of strings describing what endpoints are available to this token (if the given subtoken is restricted to a list of URLs)

Constructors

Link copied to clipboard
constructor(expiresAt: String, issuedAt: String, urls: List<String>)

Properties

Link copied to clipboard
@SerialName(value = "expires_at")
val expiresAt: String

This field holds if a subtoken is given, ISO8601 timestamp indicating when the given subtoken expires.

Link copied to clipboard
@SerialName(value = "issued_at")
val issuedAt: String

This field holds if a subtoken is given, ISO8601 timestamp indicating when the given subtoken was created.

Link copied to clipboard

This field holds an array of strings describing what endpoints are available to this token (if the given subtoken is restricted to a list of URLs).