Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime contains authentication mechanisms assembled during server startup and evaluates framework-neutral authentication requests.
func NewRuntime ¶
func NewRuntime(logger *slog.Logger, auth config.AuthConfig) *Runtime
NewRuntime assembles configured authentication mechanisms and swallows plugin startup failures so request handling retains the existing fallback behavior.
func NewRuntimeStrict ¶ added in v0.4.2
func (*Runtime) Close ¶ added in v0.4.2
func (r *Runtime) Close()
Close terminates plugin processes owned by this runtime in reverse startup order. Built-in authentication mechanisms do not own external resources.
func (*Runtime) Evaluate ¶
func (r *Runtime) Evaluate(req access.EvaluationRequest) access.EvaluationResult
Evaluate composes configured authentication mechanisms without depending on Fiber.
Click to show internal directories.
Click to hide internal directories.