cata_log_hub.security module

cata_log_hub.security.get_credentials()[source]

Get the credentials from the environment.

Return type:

tuple[str, str | None]

Returns:

Username and password.

cata_log_hub.security.verify_credentials(request, credentials=Depends(dependency=<fastapi.security.http.HTTPBasic object>, use_cache=True, scope=None))[source]

Verify credentials given by the user.

Parameters:
Return type:

None