Documentation
¶
Overview ¶
Package httpserver serves OIDC callback, redirect, and health endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthResponse ¶
type HealthResponse struct {
Status string `json:"status"`
}
HealthResponse is the JSON response for the health check endpoint
type IPRateLimiter ¶
type IPRateLimiter struct {
// contains filtered or unexported fields
}
IPRateLimiter implements per-IP rate limiting with TTL-based eviction.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the HTTP server for handling OIDC callbacks and health checks
func NewServer ¶
func NewServer(cfg *config.Config, oidcProvider *oidc.Provider, sessionMgr *session.Manager) (*Server, error)
NewServer creates a new HTTP server
Click to show internal directories.
Click to hide internal directories.