diff options
author | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
---|---|---|
committer | cyfraeviolae <cyfraeviolae> | 2024-04-03 03:10:44 -0400 |
commit | 6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch) | |
tree | b1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/litestar/contrib/jwt | |
parent | 4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff) |
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/litestar/contrib/jwt')
8 files changed, 47 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__init__.py b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__init__.py new file mode 100644 index 0000000..70a4f75 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__init__.py @@ -0,0 +1,32 @@ +from litestar.contrib.jwt.jwt_auth import ( + BaseJWTAuth, + JWTAuth, + JWTCookieAuth, + OAuth2Login, + OAuth2PasswordBearerAuth, +) +from litestar.contrib.jwt.jwt_token import Token +from litestar.contrib.jwt.middleware import ( + JWTAuthenticationMiddleware, + JWTCookieAuthenticationMiddleware, +) +from litestar.utils import warn_deprecation + +__all__ = ( + "BaseJWTAuth", + "JWTAuth", + "JWTAuthenticationMiddleware", + "JWTCookieAuth", + "JWTCookieAuthenticationMiddleware", + "OAuth2Login", + "OAuth2PasswordBearerAuth", + "Token", +) + +warn_deprecation( + deprecated_name="litestar.contrib.jwt", + version="2.3.2", + kind="import", + removal_in="3.0", + info="importing from 'litestar.contrib.jwt' is deprecated, please import from 'litestar.security.jwt' instead", +) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..1515862 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/__init__.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_auth.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_auth.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..44907f6 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_auth.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_token.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_token.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..2ffdb24 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/jwt_token.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/middleware.cpython-311.pyc b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/middleware.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..334e3fa --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/__pycache__/middleware.cpython-311.pyc diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_auth.py b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_auth.py new file mode 100644 index 0000000..e8ffb48 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_auth.py @@ -0,0 +1,5 @@ +from __future__ import annotations + +from litestar.security.jwt.auth import BaseJWTAuth, JWTAuth, JWTCookieAuth, OAuth2Login, OAuth2PasswordBearerAuth + +__all__ = ("BaseJWTAuth", "JWTAuth", "JWTCookieAuth", "OAuth2Login", "OAuth2PasswordBearerAuth") diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_token.py b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_token.py new file mode 100644 index 0000000..882373f --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/jwt_token.py @@ -0,0 +1,5 @@ +from __future__ import annotations + +from litestar.security.jwt.token import Token + +__all__ = ("Token",) diff --git a/venv/lib/python3.11/site-packages/litestar/contrib/jwt/middleware.py b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/middleware.py new file mode 100644 index 0000000..e0ad413 --- /dev/null +++ b/venv/lib/python3.11/site-packages/litestar/contrib/jwt/middleware.py @@ -0,0 +1,5 @@ +from __future__ import annotations + +from litestar.security.jwt.middleware import JWTAuthenticationMiddleware, JWTCookieAuthenticationMiddleware + +__all__ = ("JWTAuthenticationMiddleware", "JWTCookieAuthenticationMiddleware") |