Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthnMiddleware ¶
func NewAuthnMiddleware(filterName string, authenticator http.Authenticator) web.Filter
NewAuthnMiddleware returns web.Filter which uses the given security.Authenticator to authenticate the request. FilterMatchers should be extended to cover the desired endpoints.
func NewAuthzMiddleware ¶
func NewAuthzMiddleware(filterName string, authorizer http.Authorizer) web.Filter
NewAuthzMiddleware returns web.Filter which uses the given security.Authorizer to authorize the request. FilterMatchers should be extended to cover the desired endpoints.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.