Crate auth

Crate auth 

Source

Modules§

common 🔒
error
permission 🔒
user_info 🔒
user_provider 🔒

Structs§

DefaultPermissionChecker
The default permission checker implementation. It checks the permission mode of DefaultUserInfo.
StaticUserProvider

Enums§

Identity
Password
Authentication information sent by the client.
PermissionReq
PermissionResp

Traits§

PermissionChecker
UserInfo
UserProvider

Functions§

auth_mysql
static_user_provider_from_option
user_provider_from_option
userinfo_by_name
construct a UserInfo impl with name use default username greptime if None is provided

Type Aliases§

HashedPassword
PermissionCheckerRef
UserInfoRef
pub type alias
UserProviderRef