Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadUsernamePasswordFormat = errors.New("bad username/password format")
Functions ¶
func FilterHandler ¶
FilterHandler apply filters to http requests.
Types ¶
type MockProvider ¶
MockProvider is an autogenerated mock type for the Provider type
func (*MockProvider) Authenticate ¶
func (_m *MockProvider) Authenticate(r *http.Request, creds credential.Credential) (*http.Request, error)
Authenticate provides a mock function with given fields: r, creds
func (*MockProvider) IsSupported ¶
func (_m *MockProvider) IsSupported(creds credential.Credential) bool
IsSupported provides a mock function with given fields: creds
type Provider ¶
type Provider interface { Authenticate(r *http.Request, creds credential.Credential) (*http.Request, error) IsSupported(creds credential.Credential) bool }
Provider Service interface for encoding passwords
Source Files ¶
Click to show internal directories.
Click to hide internal directories.