netadm/authentication/transport.py

8 lines
172 B
Python

from fastapi_users.authentication import BearerTransport
from config import settings
bearer_transport = BearerTransport(
tokenUrl=settings.prefix.bearer_token_url,
)