abstract struct PlaceOS::Model::JWTBase
- PlaceOS::Model::JWTBase
- Struct
- Value
- Object
Overview
Base ORM for JWT
Included Modules
- JSON::Serializable
Direct Known Subclasses
Defined in:
placeos-models/base/jwt.crConstant Summary
-
Log =
(::Log.for(PlaceOS::Model)).for("jwt")
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
Class Method Detail
def self.decode(token : String, key : String | Nil = nil, algorithm : JWT::Algorithm = JWT::Algorithm::RS256, validate : Bool = true)
#