airflow.providers.fab.auth_manager.api.auth.backend.basic_auth

Basic authentication backend.

Attributes

CLIENT_AUTH

T

Functions

init_app(_)

Initialize authentication backend.

auth_current_user()

Authenticate and set current user if Authorization header exists.

requires_authentication(function)

Decorate functions that require authentication.

Module Contents

airflow.providers.fab.auth_manager.api.auth.backend.basic_auth.CLIENT_AUTH: tuple[str, str] | Any | None = None[source]
airflow.providers.fab.auth_manager.api.auth.backend.basic_auth.T[source]
airflow.providers.fab.auth_manager.api.auth.backend.basic_auth.init_app(_)[source]

Initialize authentication backend.

airflow.providers.fab.auth_manager.api.auth.backend.basic_auth.auth_current_user()[source]

Authenticate and set current user if Authorization header exists.

airflow.providers.fab.auth_manager.api.auth.backend.basic_auth.requires_authentication(function)[source]

Decorate functions that require authentication.

Was this entry helpful?