nat.authentication.http_basic_auth.register#
Classes#
Base configuration for authentication providers. |
Functions#
|
Module Contents#
- class HTTPBasicAuthProviderConfig(/, **data: Any)#
Bases:
nat.data_models.authentication.AuthProviderBaseConfig
Base configuration for authentication providers.
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.
- async http_basic_auth_provider(
- config: HTTPBasicAuthProviderConfig,
- builder: nat.builder.builder.Builder,