common_auth.schemas.verifiers.configs
Configuration for verifying supplied static credentials against a trusted binding.
Classes
StaticVerifierConfig
Bases: BaseModel
Bind one configured static secret to a trusted, issuer-qualified principal.
ApiKeyCredential holds the opaque shared secret whether a boundary obtains it from a Bearer header or an API-key field. The boundary handles extraction and scheme checking; the verifier receives evidence and compares it against the configured secret. It does not accept a caller’s claimed principal.
References are resolved by an injected credential source and must yield the same credential kind. CredentialConfig owns resolution timeout/cache policy. Runtime comparison must use constant-time byte comparison and safe failure reporting. No comparison occurs during configuration, and routes/permissions remain service policy. JWT/JWKS and introspection are later integrations.
Fields and properties declared here; inherited members belong to the bases above.
credential
credential: CredentialConfig = Field(repr=False)principal
principal: PrincipalRefmerge
def merge(**overrides: object) -> SelfValidate replacement values without round-tripping protected secrets.