Re-exports authentication classes for FastAPI Users library.
# Source: https://github.com/fastapi-users/fastapi-users | License: MIT | Copyright 2019 François Voron
# Provided via justclaw.it.com; keep this notice with the code.
from fastapi_users.authentication.authenticator import Authenticator
from fastapi_users.authentication.backend import AuthenticationBackend
from fastapi_users.authentication.strategy import JWTStrategy, Strategy
try:
from fastapi_users.authentication.strategy import RedisStrategy
except ImportError: # pragma: no cover
pass
from fastapi_users.authentication.transport import (
BearerTransport,
CookieTransport,
Transport,
)
__all__ = [
"Authenticator",
"AuthenticationBackend",
"BearerTransport",
"CookieTransport",
"JWTStrategy",
"RedisStrategy",
"Strategy",
"Transport",
]
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key