struct Authly::AccessToken
- Authly::AccessToken
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
authly/access_token.crConstant Summary
-
ACCESS_TTL =
Authly.config.access_ttl
-
REFRESH_TTL =
Authly.config.refresh_ttl
Constructors
- .new(client_id : String, scope : String, id_token : String | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #access_token : String
- #client_id : String
- #expires_in : Int64
- #id_token : String | Nil
- #jti : String
- #refresh_token
- #revoked? : Bool
- #scope : String
-
#sub : String
The JWT ID (jti), used to track and revoke individual tokens
- #token_type : String