package
0.15.3-rc2
Repository: https://github.com/mudphilo/chat.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ParseAuthLevel parses authentication level from a string.

# Constants

LevelAnon is anonymous user/light authentication.
LevelAuth is fully authenticated user.
LevelNone is undefined/not authenticated.
LevelRoot is a superuser (currently unused).
Validated bit is set if user's credentials are already validated.

# Structs

Rec is an authentication record.

# Interfaces

AuthHandler is the interface which auth providers must implement.

# Type aliases

Feature is a bitmap of authenticated features, such as validated/not validated.
Level is the type for authentication levels.