aeat.adapters.outbound.google._active_profile module¶
Active-profile resolver for the Google OAuth Desktop integration.
Every aeat config google ... command and every secure-store read or write
performed by adapters.outbound.google._oauth_flow and
adapters.outbound.google._session_store is scoped to one AEAT
profile. adapters.outbound.google.resolve_active_profile() obtains
that profile’s immutable bucket UUID through
core.resolve_active_bucket_id(), the operator-facing precedence
chain driven by core.config.Settings and the plaintext
active-profile pointer file.
There is no global Google session, no shared cross-profile token, and no
multi-account binding within a single profile. A missing profile is raised as
adapters.outbound.google.GoogleAuthProfileUnboundError so the CLI
and storage factory render the same localised repair guidance.
- resolve_active_profile()[source]¶
Return the AEAT profile UUID backing this Google OAuth call.
- Return type:
- Returns:
The resolved profile’s immutable UUID identity. Always a non-empty string.
- Raises:
adapters.outbound.google.GoogleAuthProfileUnboundError – When the
core.resolve_active_bucket_id()precedence chain resolves to no profile. The error carries asuggestionpointing toaeat config profile create NAMEand acontextpayload naming the failed resolution attempt for renderers.