Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RefreshMiddleware ¶
func RefreshMiddleware(kaoriUserDB *kaoriDatabase.NoSqlDb, cfg *kaoriSettings.Config, loginUrl string, next http.Handler) http.Handler
Types ¶
type AuthMiddlewarePerm ¶
type AuthMiddlewarePerm struct {
PermRequired []kaoriJwt.Permission
}
func NewAuthMiddlewarePerm ¶
func NewAuthMiddlewarePerm(perms ...kaoriJwt.Permission) *AuthMiddlewarePerm
func (*AuthMiddlewarePerm) Authmiddleware ¶
func (amp *AuthMiddlewarePerm) Authmiddleware(kaoriDb *kaoriDatabase.NoSqlDb, accessKey string, next http.Handler) http.Handler
type ContextValues ¶
type ContextValues struct {
// contains filtered or unexported fields
}
func (ContextValues) Get ¶
func (v ContextValues) Get(key string) string
Click to show internal directories.
Click to hide internal directories.