Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthBasicConfig ¶
AuthBasicConfig is the configuration for the AuthBasic middleware.
type AuthOIDCConfig ¶
type AuthOIDCConfig struct {
CookieName string
Issuer string
Audience string
SecretKey string
RedirectURL string
Skipper Skipper
}
AuthOIDCConfig is the configuration for the Auth middleware.
type Middleware ¶
func AuthBasicWithConfig ¶
func AuthBasicWithConfig(conf AuthBasicConfig) Middleware
AuthBasicWithConfig returns a middleware that authenticates requests.
func AuthOIDCWithConfig ¶
func AuthOIDCWithConfig(conf AuthOIDCConfig) Middleware
AuthOIDCWithConfig returns a middleware that authenticates requests.
Click to show internal directories.
Click to hide internal directories.