struct PlaceOS::Model::UserJWT::Scope

Defined in:

placeos-models/user_jwt.cr

Constant Summary

GUEST = new("guest")
PUBLIC = new("public")
SAAS = new("portal-saas")

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(resource : String, access : Access | Nil = nil) #

Class Method Detail

def self.from_json(json : JSON::PullParser) #

Instance Method Detail

def access : Access #

def resource : String #

def to_json(builder : JSON::Builder) #

def to_s(io : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).