//
pkg.gl
Category
github.com/orijtech/caddy
caddyhttp
basicauth
package
0.11.5
Repository:
https://github.com/orijtech/caddy.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
14
Dependents
0
Files
254 SLOC
#
Functions
GetHtpasswdMatcher
GetHtpasswdMatcher matches password rules.
PlainMatcher
PlainMatcher returns a PasswordMatcher that does a constant-time byte comparison against the password passw.
#
Structs
BasicAuth
BasicAuth is middleware to protect resources with a username and password.
Rule
Rule represents a BasicAuth rule.
#
Type aliases
PasswordMatcher
PasswordMatcher determines whether a password matches a rule.