class JWT::Token
- JWT::Token
- Reference
- Object
Defined in:
jwt/token.crConstructors
Class Method Summary
Instance Method Summary
- #encode(io : IO, key : OpenSSL::RSA, algorithm : JWT::Algorithm)
- #encode(key : OpenSSL::RSA, algorithm : JWT::Algorithm)
- #encode(io : IO)
- #encode
- #headers
- #headers64 : String
- #headers64=(headers64 : String)
- #payload
- #payload64 : String
- #payload64=(payload64 : String)
- #signature : Slice(UInt8)
- #signature64 : String
- #signature64=(signature64 : String)
Constructor Detail
def self.new(headers : Hash(String, JSON::Type), payload : Hash(String, JSON::Type), signature : Slice(UInt8) | Nil = nil)
#