# Projects that influenced this module:
# 1. https://github.com/litestar-org/litestar
# 2. https://github.com/jazzband/djangorestframework-simplejwt

try:
    import jwt  # noqa: F401  # pyright: ignore[reportUnusedImport]
except ImportError:  # pragma: no cover
    print(  # noqa: WPS421
        'Looks like `pyjwt` is not installed, '
        "consider using `pip install 'django-modern-rest[jwt]'`",
    )
    raise

from dmr.security.jwt.auth import JWTAsyncAuth as JWTAsyncAuth
from dmr.security.jwt.auth import JWTSyncAuth as JWTSyncAuth
from dmr.security.jwt.auth import get_jwt as get_jwt
from dmr.security.jwt.token import JWToken as JWToken
