package htpasswd
import "github.com/docker/distribution/registry/auth/htpasswd"
Package htpasswd provides a simple authentication scheme that checks for the user credential hash in an htpasswd formatted file in a configuration-determined location.
This authentication method MUST be used under TLS, as simple token-replay attack is possible.
Index ¶
Variables ¶
var ( // ErrInvalidCredential is returned when the auth token does not authenticate correctly. ErrInvalidCredential = errors.New("invalid authorization credential") // ErrAuthenticationFailure returned when authentication failure to be presented to agent. ErrAuthenticationFailure = errors.New("authentication failured") )
Source Files ¶
- Version
- v2.3.1+incompatible
- Published
- Feb 23, 2016
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 7 hours ago –
Tools for package owners.