PlaceOS::Model::UserJWT
Inherits PlaceOS::Model::JWTBase < JSON::Serializable < Struct < Value < Object
TODO: Migrate to human-readable attributes
Constants
ISSUER = "POS"
Constructors
new(iss : String, iat : Time, exp : Time, domain : String, id : String, user : PlaceOS::Model::UserJWT::Metadata, scope : Array(PlaceOS::Model::UserJWT::Scope) = [Scope::PUBLIC])
SourceInstance methods
exp
Sourceguest_scope?
Sourceiat
Sourceis_admin?(*args, **options)
Sourceis_admin?(*args, **options, &)
Sourceis_support?(*args, **options)
Sourceis_support?(*args, **options, &)
Sourceiss
Sourcepublic_scope?
Sourceuser
Source