Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EmptyClientConfig = ClientConfig{} EmptyServerConfig = ServerConfig{} )
Functions ¶
func HMACKeyBytes ¶
Types ¶
type ClientAuth ¶ added in v0.37.0
type ClientAuth struct {
Config ClientConfig
}
type ClientConfig ¶ added in v0.37.0
type ClientConfig struct {
CommonConfig `mapstructure:",squash"`
}
func (ClientConfig) IsEmpty ¶ added in v0.37.0
func (c ClientConfig) IsEmpty() bool
type CommonConfig ¶ added in v0.37.0
type Handler ¶ added in v0.37.0
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶ added in v0.37.0
func NewHandler(cfg ServerConfig) *Handler
func (*Handler) AuthRequest ¶ added in v0.37.0
type ServerConfig ¶ added in v0.37.0
type ServerConfig struct {
CommonConfig `mapstructure:",squash"`
// HTTP Header to use as data input
PrincipalHeader string `mapstructure:"principal-header"`
}
func (ServerConfig) IsEmpty ¶ added in v0.37.0
func (c ServerConfig) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.