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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def email : String #

[View source]
def name : String #

[View source]
def permissions : Permissions #

[View source]
def roles : Array(String) #

[View source]