Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
Client Client
}
func (*Middleware) IsAuthenticated ¶
func (m *Middleware) IsAuthenticated(next chd.ContextHandler) chd.ContextHandler
func (*Middleware) IsAuthorized ¶
func (m *Middleware) IsAuthorized(resource, permission string, environment *middleware.Env) func(chd.ContextHandler) chd.ContextHandler
Click to show internal directories.
Click to hide internal directories.