Documentation
¶
Index ¶
- type Action
- type AuthGuard
- func (guard AuthGuard) AuthenticateM2MMiddleware() lit.HandlerFunc
- func (guard AuthGuard) AuthenticateUserMiddleware() lit.HandlerFunc
- func (guard AuthGuard) RequiredM2MScopeMiddleware(scopes ...string) lit.HandlerFunc
- func (guard AuthGuard) RolePermissionHandler(handler lit.ErrHandlerFunc, resource string, permissions Action) lit.ErrHandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthGuard ¶
type AuthGuard struct {
// contains filtered or unexported fields
}
func (AuthGuard) AuthenticateM2MMiddleware ¶
func (guard AuthGuard) AuthenticateM2MMiddleware() lit.HandlerFunc
func (AuthGuard) AuthenticateUserMiddleware ¶
func (guard AuthGuard) AuthenticateUserMiddleware() lit.HandlerFunc
func (AuthGuard) RequiredM2MScopeMiddleware ¶
func (guard AuthGuard) RequiredM2MScopeMiddleware(scopes ...string) lit.HandlerFunc
func (AuthGuard) RolePermissionHandler ¶
func (guard AuthGuard) RolePermissionHandler(handler lit.ErrHandlerFunc, resource string, permissions Action) lit.ErrHandlerFunc
Click to show internal directories.
Click to hide internal directories.