Download backend/auth/__init__.py from Shwy1001/BioPatch: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/Shwy1001/BioPatch/resolve/main/backend/auth/__init__.py
- Command line
-
hf download hf://spaces/Shwy1001/BioPatch/backend/auth/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Shwy1001/BioPatch/resolve/main/backend/auth/__init__.py
325 Bytes
| from .dependencies import ( | |
| CREDENTIALS_EXCEPTION, | |
| get_current_user, | |
| oauth2_scheme, | |
| require_role, | |
| ) | |
| from .service import authenticate_user, register_user | |
| __all__ = [ | |
| "CREDENTIALS_EXCEPTION", | |
| "get_current_user", | |
| "oauth2_scheme", | |
| "require_role", | |
| "authenticate_user", | |
| "register_user", | |
| ] | |