AttestoClient.TokenSet (AttestoClient v2.2.0)

Copy Markdown View Source

Validated token-endpoint response.

The struct carries protocol output only. The application decides whether, where, and for how long to retain access, refresh, and ID tokens. In particular, this library never creates a login session or makes an authorization decision from token claims.

Summary

Types

t()

@type t() :: %AttestoClient.TokenSet{
  access_token: String.t(),
  expires_in: non_neg_integer() | nil,
  extra: map(),
  id_token: String.t() | nil,
  refresh_token: String.t() | nil,
  scope: String.t() | nil,
  token_type: String.t()
}