Token

data class Token(val value: String, val expiresIn: Duration)

An access token and how long it remains valid.

Constructors

Link copied to clipboard
constructor(value: String, expiresIn: Duration)

Properties

Link copied to clipboard

How long the token remains valid, measured from when it was issued.

Link copied to clipboard

The access token itself, sent as a bearer credential.