netadm/authentication/transport.py

8 lines
172 B
Python
Raw Normal View History

2024-10-02 10:25:16 +00:00
from fastapi_users.authentication import BearerTransport
from config import settings
bearer_transport = BearerTransport(
2024-10-02 15:50:50 +00:00
tokenUrl=settings.prefix.bearer_token_url,
2024-10-02 10:25:16 +00:00
)