Documentation ¶
Index ¶
Constants ¶
View Source
const (
AuthenticatorName = "headers_check"
)
Variables ¶
View Source
var (
HeadersCheckID = component.MustNewID(AuthenticatorName)
)
Functions ¶
Types ¶
type HeadersCheck ¶
type HeadersCheck struct { AuthenticatorID component.ID `mapstructure:"authenticator"` // contains filtered or unexported fields }
func (*HeadersCheck) Authenticate ¶
type Option ¶
type Option func(*HeadersCheck)
type ServerConfig ¶
type ServerConfig struct {
AuthenticatorID string `mapstructure:"authenticator"`
}
Click to show internal directories.
Click to hide internal directories.