Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Forbidden ¶
func Forbidden(reason string, attributes kauthorizer.Attributes, w http.ResponseWriter, req *http.Request)
Forbidden renders a simple forbidden error to the response
func NewBypassAuthorizer ¶
func NewBypassAuthorizer(auth kauthorizer.Authorizer, paths ...string) kauthorizer.Authorizer
NewBypassAuthorizer creates an Authorizer that always allows the exact paths described, and delegates to the nested authorizer for everything else.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.