Files
govoplan-access/src/govoplan_access/auth/__init__.py

22 lines
488 B
Python

"""Public FastAPI access dependency API.
Feature modules may import this package when they need request principal and
scope dependencies. Implementation details remain under ``govoplan_access.backend``.
"""
from govoplan_access.backend.auth.dependencies import (
ApiPrincipal,
get_api_principal,
has_scope,
require_any_scope,
require_scope,
)
__all__ = [
"ApiPrincipal",
"get_api_principal",
"has_scope",
"require_any_scope",
"require_scope",
]