Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendRouteHandlerFunc ¶
type BasicAuth ¶
type BasicAuth struct {
// contains filtered or unexported fields
}
func NewBasicAuth ¶
func NewBasicAuth(basicAuthService BasicAuthService) BasicAuth
func (BasicAuth) GetAllScopes ¶
func (BasicAuth) Guard ¶
func (a BasicAuth) Guard(w http.ResponseWriter, r *http.Request, scopes []string, next http.HandlerFunc)
func (BasicAuth) GuardBackendRoute ¶
func (a BasicAuth) GuardBackendRoute(w http.ResponseWriter, r *http.Request, backend config.Backend, route config.Route, next BackendRouteHandlerFunc)
Click to show internal directories.
Click to hide internal directories.