Documentation
¶
Overview ¶
Package deps provides deps functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultServices ¶
type DefaultServices struct {
// contains filtered or unexported fields
}
DefaultServices is the default implementation that delegates to core package handlers.
func NewDefaultServices ¶
func NewDefaultServices(deps *Deps) *DefaultServices
NewDefaultServices constructs the default Services implementation that delegates handler functions to the core package.
type Deps ¶
type Deps struct {
Cfg config.File
CfgProvider configfx.Provider
Env config.Environment
Logger *slog.Logger
Redis rediscli.Client
WebAuthn *webauthn.WebAuthn
AccountCache *accountcache.Manager
Channel backend.Channel
Svc Services
LangManager language.Manager
TokenFlusher core.TokenFlusher
// AuthApplication is the shared authentication application boundary for backchannel and IdP transports.
AuthApplication core.AuthApplicationService
// MessageResolver resolves policy-selected status messages for IDP UI rendering.
MessageResolver localization.MessageResolver
// PolicyDecision is the admission-enforcing application authority for Policy transports.
PolicyDecision decisionservice.PreparedService
// PolicyTransport resolves trusted HTTP protection evidence for the Policy boundary.
PolicyTransport policyhttp.TransportEvidence
// PluginRunner is the explicit process-owned native hook and backend runtime.
PluginRunner *pluginruntime.Runner
// Tolerate is the explicit boot-lifetime brute-force tolerance owner.
Tolerate tolerate.Tolerate
// HostServices is the immutable host implementation bundle for authn requests.
HostServices core.AuthnHostServices
// LDAPQueue is the explicit process-owned LDAP lookup queue.
LDAPQueue core.LDAPRequestQueue
// LDAPAuthQueue is the explicit process-owned LDAP authentication queue.
LDAPAuthQueue core.LDAPAuthRequestQueue
// RouteArtifacts owns immutable listener, template, and public-file material prepared before startup commit.
RouteArtifacts *core.RouteArtifacts
// CallerRateLimiter is the per-client-IP HTTP rate limiter shared with the global middleware; nil when disabled.
CallerRateLimiter mdauth.CallerRateLimiter
}
Deps aggregates top-level dependencies to be injected into handler modules. Keep it minimal initially to avoid large refactors while enabling future DI.
Click to show internal directories.
Click to hide internal directories.