Download src/apps/auth/models/__init__.py from anaselamr/yaz: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/auth/models/__init__.py
- Command line
-
hf download hf://spaces/anaselamr/yaz/src/apps/auth/models/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/anaselamr/yaz/resolve/main/src/apps/auth/models/__init__.py
592 Bytes
| """Authentication domain models.""" | |
| from .user import AuthUser, UserStatus | |
| from .role import Role, Permission, UserRole, RolePermission | |
| from .session import Session, TokenType | |
| from .mfa import MFABackupCode, MFAAttempt, MFAConfig, BackupCodeStatus | |
| from .api_key import APIKey, APIKeyUsageLog, APIKeyStatus | |
| __all__ = [ | |
| "AuthUser", | |
| "UserStatus", | |
| "Role", | |
| "Permission", | |
| "UserRole", | |
| "RolePermission", | |
| "Session", | |
| "TokenType", | |
| "MFABackupCode", | |
| "MFAAttempt", | |
| "MFAConfig", | |
| "BackupCodeStatus", | |
| "APIKey", | |
| "APIKeyUsageLog", | |
| "APIKeyStatus", | |
| ] | |