Spaces:
Sleeping
Sleeping
Download src/auth/__init__.py from ALI7ADEL/study-notes-api: direct link, hf CLI and curl.
- Browser
- Download file 507 Bytes
-
https://huggingface.co/spaces/ALI7ADEL/study-notes-api/resolve/main/src/auth/__init__.py
- Command line
-
hf download hf://spaces/ALI7ADEL/study-notes-api/src/auth/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ALI7ADEL/study-notes-api/resolve/main/src/auth/__init__.py
507 Bytes
| """ | |
| Authentication module for YouTube Study Notes AI. | |
| Provides secure password hashing and JWT token management. | |
| """ | |
| from .security import ( | |
| hash_password, | |
| verify_password, | |
| create_access_token, | |
| decode_access_token, | |
| ) | |
| from .dependencies import ( | |
| get_current_user, | |
| get_current_active_user, | |
| ) | |
| __all__ = [ | |
| "hash_password", | |
| "verify_password", | |
| "create_access_token", | |
| "decode_access_token", | |
| "get_current_user", | |
| "get_current_active_user", | |
| ] | |