Versions in this module Expand all Collapse all v0 v0.1.0 Mar 1, 2026 Changes in this version + func HandlerFunc(cfg *ServerConfig, origHandler http.HandlerFunc) (http.HandlerFunc, error) + func MultiAuthnHandlerFunc(cfg *ServerConfig, origHandler http.HandlerFunc) http.HandlerFunc + func NullHandler(next http.HandlerFunc) http.HandlerFunc + type Authenticator interface + AuthRequest func(r *http.Request) (stdctx.Context, error) + type ClientAuth interface + AddAuth func(*http.Request) error + func NewClientAuth(authConfig ClientConfig) ClientAuth + type ClientConfig struct + BasicAuthConfig basic.ClientConfig + GitHubAuthConfig github.ClientConfig + HMACAuthConfig hmac.ClientConfig + type GenericAuthConfig struct + Config map[string]any + Name string + type Handler struct + Config ServerConfig + func NewHandler(cfg *ServerConfig) (*Handler, error) + func (h *Handler) Wrap(handler http.Handler) http.Handler + type Middleware interface + Wrap func(http.Handler) http.Handler + type ServerConfig struct + BasicAuthConfig basic.ServerConfig + GitHubAuthConfig github.ServerConfig + HMACAuthConfig hmac.ServerConfig + JWTAuthConfig jwt.ValidatorConfig + OIDCAuthConfig oidc.ClientConfig + Providers []string