Spaces:
Running
Running
Download app/security/__init__.py from basyx/MediaRouter: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/basyx/MediaRouter/resolve/main/app/security/__init__.py
- Command line
-
hf download hf://spaces/basyx/MediaRouter/app/security/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/basyx/MediaRouter/resolve/main/app/security/__init__.py
258 Bytes
| """Stateless API-key authentication, authorization, rate limiting, and auditing.""" | |
| from app.security.context import AuthContext | |
| from app.security.scopes import ALL_SCOPES, DEFAULT_ROLE_SCOPES | |
| __all__ = ["ALL_SCOPES", "DEFAULT_ROLE_SCOPES", "AuthContext"] | |