struct

Authly::AccessToken

Inherits JSON::Serializable / Struct / Value / Object

Constants

ACCESS_TTL = Authly.config.access_ttl
REFRESH_TTL = Authly.config.refresh_ttl

Constructors

new(client_id : String, scope : String, id_token : String | Nil = nil, cert_thumbprint : String | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

jwt(client_id, scope, id_token)
Source

Instance methods

access_token
Source
client_id
Source
expires_in
Source
id_token
Source
refresh_token
Source
revoked?
Source
scope
Source
sub

The JWT ID (jti), used to track and revoke individual tokens

Source
token_type
Source