cadrumo.adapters.outbound.aeat.auth.provider_selection module

Concrete AEAT authentication provider selection.

The selector is a public contract in its own defining module. Keeping it outside the package initializer preserves the package’s intentionally inert namespace while giving application orchestration an exact import target.

select_provider(kind, *, settings, browser_session_factory=None, certificate_credentials=None)[source]

Return the concrete outbound provider implementation for kind.

CERTIFICATE requires certificate credentials; browser-backed providers receive the optional shared browser-session factory.

Return type:

AeatAuthenticator | ClaveMovilAuthProvider | ClavePermanenteAuthProvider

Parameters: