nat.authentication.api_key.api_key_auth_provider_config#
Attributes#
Classes#
API Key authentication configuration model. |
Module Contents#
- logger#
- HEADER_NAME_REGEX#
- class APIKeyAuthProviderConfig(/, **data: Any)#
Bases:
nat.data_models.authentication.AuthProviderBaseConfig
API Key authentication configuration model.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.- auth_scheme: nat.data_models.authentication.HeaderAuthScheme = None#