package
2.5.2
Repository: https://github.com/threefx/caddy.git
Documentation: pkg.go.dev

# Structs

Account contains a username, password, and salt (if applicable).
Authentication is a middleware which provides user authentication.
BcryptHash implements the bcrypt hash.
Cache enables caching of basic auth results.
HTTPBasicAuth facilitates HTTP basic authentication.
ScryptHash implements the scrypt KDF as a hash.
User represents an authenticated user.

# Interfaces

Authenticator is a type which can authenticate a request.
Comparer is a type that can securely compare a plaintext password with a hashed password in constant-time.
Hasher is a type that can generate a secure hash given a plaintext and optional salt (for algorithms that require a salt).