aeat.adapters.outbound.aeat.auth._certificate_backends._base module¶
Abstract contract for certificate backend implementations.
Defines _CertBackend, the interface every concrete backend under
adapters.outbound.aeat.auth._certificate_backends must implement.
Backends are selected from CertificateBackend by
adapters.outbound.aeat.auth.certificate._select_backend() and feed
the public adapters.outbound.aeat.auth.certificate.preload_into_browser_context()
and adapters.outbound.aeat.auth.certificate.verify_handshake()
helpers.
- CERTIFICATE_CONTEXT_MARKER¶
Attribute name a Playwright context carries after certificate provisioning.
The
adapters.outbound.aeat.auth.CertificateContextProvisionerstamps the context with this attribute set to theLoadedCertificatethumbprint. The Playwright backend reads it duringpreloadto verify that the context was provisioned correctly. Both producer and consumer share this single source of truth.