seamless-auth 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,34 @@
1
+ """A Seamless Auth server adapter for Python, with FastAPI and Django bindings.
2
+
3
+ The adapter sits in front of the Seamless Auth API. Browsers talk to it over
4
+ HttpOnly cookies on the application's own domain, native clients over bearer
5
+ tokens, and it talks to the auth API over bearer tokens and a service token.
6
+ Which routes it serves, and what each does to the session, comes from the auth
7
+ API's adapter manifest.
8
+
9
+ The framework bindings live in :mod:`seamless_auth.fastapi` and
10
+ :mod:`seamless_auth.django`.
11
+ """
12
+
13
+ from ._adapter import Adapter, CrossSiteRequest, Unauthenticated, User
14
+ from ._client_ip import TrustedProxies
15
+ from ._delivery import Delivery
16
+ from ._http import AuthRequest, AuthResponse, Headers, ResponseCookie
17
+ from ._manifest import MANIFEST_PATH, Manifest, ManifestError, ManifestRoute
18
+
19
+ __all__ = [
20
+ "MANIFEST_PATH",
21
+ "Adapter",
22
+ "AuthRequest",
23
+ "AuthResponse",
24
+ "CrossSiteRequest",
25
+ "Delivery",
26
+ "Headers",
27
+ "Manifest",
28
+ "ManifestError",
29
+ "ManifestRoute",
30
+ "ResponseCookie",
31
+ "TrustedProxies",
32
+ "Unauthenticated",
33
+ "User",
34
+ ]