Documentation ¶
Index ¶
- Variables
- type Authorizerdeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoCreds is returned when no basic auth credentials are defined ErrNoCreds = basicauth.ErrNoCreds // ErrAuthFail is returned when the client fails basic authentication ErrAuthFail = basicauth.ErrAuthFail )
View Source
var Middleware = basicauth.Middleware
Middleware enables basic authentication
Deprecated: use github.com/gobuffalo/mw-basicauth#Middleware instead.
Functions ¶
This section is empty.
Types ¶
type Authorizer
deprecated
type Authorizer = basicauth.Authorizer
Authorizer is used to authenticate the basic auth username/password. Should return true/false and/or an error.
Deprecated: use github.com/gobuffalo/mw-basicauth#Authorizer instead.
Click to show internal directories.
Click to hide internal directories.