Documentation
¶
Overview ¶
Package plugins wires ToughRADIUS plugin implementations into the runtime registries used by the authentication, accounting, and EAP pipelines.
The package composes concrete validators, policy checkers, response enhancers, accounting handlers, and EAP handlers, then registers them through the shared registry package during process startup.
Registration is dependency-aware: components that require repositories or config providers are only enabled when those dependencies are available.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitPlugins ¶
func InitPlugins(appCtx app.ConfigManagerProvider, sessionRepo repository.SessionRepository, accountingRepo repository.AccountingRepository)
InitPlugins initializes all plugins sessionRepo and accountingRepo must be supplied externally to support dependency injection for plugins
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package accounting defines pluggable accounting handlers and shared request context types.
|
Package accounting defines pluggable accounting handlers and shared request context types. |
|
handlers
Package handlers implements accounting event handlers used by the plugin runner.
|
Package handlers implements accounting event handlers used by the plugin runner. |
|
Package auth defines authentication pipeline interfaces and shared context types.
|
Package auth defines authentication pipeline interfaces and shared context types. |
|
checkers
Package checkers implements post-credential authorization checks in the authentication pipeline.
|
Package checkers implements post-credential authorization checks in the authentication pipeline. |
|
enhancers
Package enhancers implements Access-Accept attribute enrichment for successful authentications.
|
Package enhancers implements Access-Accept attribute enrichment for successful authentications. |
|
guards
Package guards provides pipeline guards that shape authentication response behavior.
|
Package guards provides pipeline guards that shape authentication response behavior. |
|
validators
Package validators implements credential validation handlers for the RADIUS authentication pipeline.
|
Package validators implements credential validation handlers for the RADIUS authentication pipeline. |
|
Package eap provides the shared EAP authentication orchestration layer for ToughRADIUS.
|
Package eap provides the shared EAP authentication orchestration layer for ToughRADIUS. |
|
handlers
Package handlers implements concrete EAP method handlers used by the coordinator in package eap.
|
Package handlers implements concrete EAP method handlers used by the coordinator in package eap. |
|
statemanager
Package statemanager provides EAP state storage implementations.
|
Package statemanager provides EAP state storage implementations. |
|
tlsengine
Package tlsengine drives a server-side TLS handshake for EAP-TLS (RFC 5216) across multiple EAP/RADIUS round-trips.
|
Package tlsengine drives a server-side TLS handshake for EAP-TLS (RFC 5216) across multiple EAP/RADIUS round-trips. |
|
tlsfragment
Package tlsfragment implements EAP-TLS fragmentation and reassembly as defined in RFC 5216 §2.1.5 (EAP-TLS) and the general RADIUS fragmentation considerations in RFC 7499.
|
Package tlsfragment implements EAP-TLS fragmentation and reassembly as defined in RFC 5216 §2.1.5 (EAP-TLS) and the general RADIUS fragmentation considerations in RFC 7499. |
|
Package vendorparsers defines vendor-specific request/response extension points.
|
Package vendorparsers defines vendor-specific request/response extension points. |
|
parsers
Package parsers provides vendor parser implementations for the vendorparsers plugin.
|
Package parsers provides vendor parser implementations for the vendorparsers plugin. |