struct PlaceOS::Model::UserJWT::Metadata

Included Modules

Defined in:

placeos-models/user_jwt.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, email : String, permissions : PlaceOS::Model::UserJWT::Permissions = Permissions::User, roles : Array(String) = [] of String) #

def self.new(pull : JSON::PullParser) #

Instance Method Detail

def email : String #

def name : String #

def permissions : Permissions #

def roles : Array(String) #