Documentation
¶
Overview ¶
Package basicauthextension implements an extension offering basic auth authentication over HTTP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for the static bearer token Authenticator extension.
Types ¶
type ClientAuthSettings ¶ added in v0.50.0
type ClientAuthSettings struct {
// Username holds the username to use for client authentication.
Username string `mapstructure:"username"`
// Password holds the password to use for client authentication.
Password configopaque.String `mapstructure:"password"`
// contains filtered or unexported fields
}
type Config ¶
type Config struct {
// Htpasswd settings.
Htpasswd *HtpasswdSettings `mapstructure:"htpasswd,omitempty"`
// ClientAuth settings
ClientAuth *ClientAuthSettings `mapstructure:"client_auth,omitempty"`
// contains filtered or unexported fields
}
type HtpasswdSettings ¶
Click to show internal directories.
Click to hide internal directories.