Skip to main content

Module registry

Module registry 

Source
Expand description

Runtime registry for feature-enabled external authentication provider drivers.

The default registry registers only drivers compiled into the crate through Cargo features. Applications can create their own registry and call ExternalAuthProviderRegistry::add to append product or plugin-provided drivers without replacing built-ins. Tests and advanced application code can still call ExternalAuthProviderRegistry::register when intentional replacement is required.

Structs§

ExternalAuthProviderRegistry
Registry of external authentication provider drivers keyed by provider kind.

Functions§

default_registry
Returns a process-wide default registry populated with feature-enabled drivers.