Documentation ¶
Overview ¶
Package basic provides HTTP Basic Auth services.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPBasicAuth ¶
type HTTPBasicAuth struct{}
HTTPBasicAuth provides HTTP Basic Auth
func (*HTTPBasicAuth) Authenticate ¶
func (a *HTTPBasicAuth) Authenticate(w http.ResponseWriter, r *http.Request) (*authdb.UserContext, error)
Authenticate authenticates a request against a user store using HTTP Basic Auth.
func (*HTTPBasicAuth) MethodName ¶
func (a *HTTPBasicAuth) MethodName() string
MethodName returns "default"
Click to show internal directories.
Click to hide internal directories.