Download src/auth/__init__.py from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/auth/__init__.py
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/auth/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/auth/__init__.py
514 Bytes
| """ | |
| Authentication module for YAZ Care Platform | |
| Comprehensive JWT-based authentication with RBAC | |
| """ | |
| from .auth_service import AuthenticationService, AuthenticationError, auth_service | |
| from .endpoints import ( | |
| auth_router, | |
| get_current_user, | |
| require_auth, | |
| require_permission, | |
| require_role, | |
| ) | |
| __all__ = [ | |
| "AuthenticationService", | |
| "AuthenticationError", | |
| "auth_service", | |
| "auth_router", | |
| "get_current_user", | |
| "require_auth", | |
| "require_permission", | |
| "require_role", | |
| ] | |