Documentation ¶
Index ¶
Constants ¶
View Source
const BasicAuthnFilterName string = "BasicAuthnFilter"
BasicAuthnFilterName is the name of the Basic AuthenticationFilter
Variables ¶
This section is empty.
Functions ¶
func NewBasicAuthnFilter ¶
func NewBasicAuthnFilter(user, password string) *filters.AuthenticationFilter
NewBasicAuthnFilter creates a new Basic Authentication Filter with inmemory authenticator
Types ¶
type Settings ¶
type Settings struct { User string `mapstructure:"user"` Password string `mapstructure:"password"` TokenIssuerURL string `mapstructure:"token_issuer_url"` ClientID string `mapstructure:"client_id"` SkipSSLValidation bool `mapstructure:"skip_ssl_validation"` }
Settings for authentication confnig
func DefaultSettings ¶
func DefaultSettings() *Settings
DefaultSettings for the authentication config
Click to show internal directories.
Click to hide internal directories.