Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BaseURL string
GitHubClientID string
GitHubClientSecret string
PrivKey jwk.Key
Logger *slog.Logger
Store store.Store // nil is allowed; fact tools will return an error
AuthState oidc.AuthStateStore // if nil, Store is used
Revocation oidc.RevocationStore // if nil, Store is used
ShutdownTimeout time.Duration
RefreshTokenGracePeriod *time.Duration
RetiredRefreshTokenRetention *time.Duration
SentryHandler func(http.Handler) http.Handler
}
Config holds all parameters needed to construct the server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the configured HTTP server ready to serve requests.
Click to show internal directories.
Click to hide internal directories.