class MasterToken
- MasterToken
- Reference
- Object
Included Modules
- JSON::Serializable
- JWT::Token
Defined in:
jwt.crConstructors
Class Method Summary
- .from_jwt(token : String, keys : Hash(String, String))
- .from_jwt(token : String, key : String = "", algorithm : JWT::Algorithm = JWT::Algorithm::None, verify = true, validate = true, **options) : Tuple
- .from_jwt(token : String, algorithm : JWT::Algorithm | Nil = nil, verify = true, validate = true, **options, &) : Tuple
Instance Method Summary
- #[](key)
- #[]?(key)
- #as_h
- #as_h?
- #aud : String | Array(String) | Nil
- #aud=(aud : String | Array(String) | Nil)
- #audience : Array(String) | String | Nil
- #audience=(value)
- #command : String
- #command=(command : String)
- #exp : Time | Nil
- #exp=(exp : Time | Nil)
- #expiration : Time?
- #expiration=(value)
- #iat : Time | Nil
- #iat=(iat : Time | Nil)
- #iss : String | Nil
- #iss=(iss : String | Nil)
- #issued_at : Time?
- #issued_at=(value)
- #issuer : String?
- #issuer=(value)
- #json_unmapped : Hash(String, JSON::Any)
- #json_unmapped=(json_unmapped)
- #jti : String | Nil
- #jti=(jti : String | Nil)
- #jwt_id : String?
- #jwt_id=(value)
- #nbf : Time | Nil
- #nbf=(nbf : Time | Nil)
- #not_before : Time?
- #not_before=(value)
- #room_id : String
- #room_id=(room_id : String)
- #sub : String | Nil
- #sub=(sub : String | Nil)
- #subject : String?
- #subject=(value)
- #to_jwt(key : String, algorithm : JWT::Algorithm, **header_keys) : String
Constructor Detail
Class Method Detail
def self.from_jwt(token : String, key : String = "", algorithm : JWT::Algorithm = JWT::Algorithm::None, verify = true, validate = true, **options) : Tuple
#
def self.from_jwt(token : String, algorithm : JWT::Algorithm | Nil = nil, verify = true, validate = true, **options, &) : Tuple
#