module JWT
Extended Modules
Defined in:
jwt.crjwt/errors.cr
jwt/version.cr
Constant Summary
-
VERSION =
"0.4.0"
Instance Method Summary
- #decode(token : String, key : String = "", algorithm : Algorithm = Algorithm::None, verify = true, validate = true, **opts) : Tuple
- #encode(payload, key : String, algorithm : Algorithm, **header_keys) : String
- #encode_header(algorithm : Algorithm, **keys) : String
- #encode_payload(payload) : String
- #encoded_signature(algorithm : Algorithm, key : String, data : String)
- #sign(algorithm : Algorithm, key : String, data : String)