Authly::Claims
Inherits Struct < Value < Object
The verified claims of an access token, as downstream code sees them.
Constructors
from(payload : Hash) : Claims
Sourcenew(payload : Hash(String, JSON::Any))
SourceInstance methods
[](name : String) : JSON::Any
Source[]?(name : String) : JSON::Any | Nil
Sourceall_scopes?(required : Enumerable(String)) : Bool
Sourceany_scope?(candidates : Enumerable(String)) : Bool
Sourceaudience?(audience : String) : Bool
Sourceclient_id
Sourceid
Sourcepayload
Sourcescope?(scope : String) : Bool
Sourcescopes
Sourcesubject
Source