Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
solhttp
0.1.0
Top Level Namespace
SolHTTP
Auth
Handler
Config
LogHandler
User
Generated using Crystal 1.14.0
2024-11-26 10:22:02 UTC
class
SolHTTP::
User
SolHTTP::User
Reference
Object
Included Modules
JSON::Serializable
Kemal::Session::StorableObject
Defined in:
solhttp/auth.cr
Constructors
.new
(pull : JSON::PullParser)
.new
(username : String, level : UInt8 =
0_u8
)
Instance Method Summary
#level
: UInt8
#level=
(level : UInt8)
#username
: String
#username=
(username : String)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
(username : String, level : UInt8 =
0_u8
)
#
[
View source
]
Instance Method Detail
def
level
: UInt8
#
[
View source
]
def
level=
(level : UInt8)
#
[
View source
]
def
username
: String
#
[
View source
]
def
username=
(username : String)
#
[
View source
]