struct

PlaceOS::Model::UserJWT::Metadata

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, email : String, permissions : PlaceOS::Model::UserJWT::Permissions = Permissions::User, roles : Array(String) = [] of String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

email
Source
name
Source
permissions
Source
roles
Source