agentauthlayer 0.1.11__tar.gz → 0.1.12__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.
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/PKG-INFO +2 -1
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/users.py +3 -0
- agentauthlayer-0.1.12/agent_auth/web_dist/assets/index-BOER6keK.js +21 -0
- agentauthlayer-0.1.12/agent_auth/web_dist/assets/index-t7ZqV4V6.css +1 -0
- agentauthlayer-0.1.12/agent_auth/web_dist/assets/ui-C1LFd_jm.js +242 -0
- agentauthlayer-0.1.12/agent_auth/web_dist/assets/vendor-BNEucebo.js +59 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/web_dist/index.html +4 -2
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/PKG-INFO +2 -1
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/SOURCES.txt +15 -8
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/requires.txt +1 -0
- agentauthlayer-0.1.12/auth_app/api/routes/projects.py +145 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/users.py +6 -2
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/core/config.py +1 -1
- agentauthlayer-0.1.12/auth_app/core/pg_shim.py +67 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/dependencies/auth.py +27 -2
- agentauthlayer-0.1.12/auth_app/dependencies/user.py +16 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/domain/models.py +10 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/contracts.py +13 -1
- agentauthlayer-0.1.12/auth_app/repositories/postgres_agent_repo.py +114 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_audit_repo.py +76 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_constraint_repo.py +47 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_delegation_repo.py +85 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_permission_repo.py +41 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_project_repo.py +175 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_role_repo.py +68 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_token_repo.py +117 -0
- agentauthlayer-0.1.12/auth_app/repositories/postgres_user_repo.py +233 -0
- agentauthlayer-0.1.12/auth_app/repositories/project_repo.py +64 -0
- agentauthlayer-0.1.12/auth_app/repositories/sqlite_project_repo.py +160 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/project.py +17 -6
- agentauthlayer-0.1.12/auth_app/services/project_service.py +52 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/user_service.py +3 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/pyproject.toml +2 -1
- agentauthlayer-0.1.11/agent_auth/web_dist/assets/index-Cs3lTJhd.js +0 -320
- agentauthlayer-0.1.11/agent_auth/web_dist/assets/index-DaB2dsnD.css +0 -1
- agentauthlayer-0.1.11/auth_app/api/routes/projects.py +0 -84
- agentauthlayer-0.1.11/auth_app/dependencies/user.py +0 -38
- agentauthlayer-0.1.11/auth_app/repositories/project_repo.py +0 -37
- agentauthlayer-0.1.11/auth_app/repositories/sqlite_project_repo.py +0 -104
- agentauthlayer-0.1.11/auth_app/services/project_service.py +0 -38
- agentauthlayer-0.1.11/tests/test_agent_auth_library.py +0 -267
- agentauthlayer-0.1.11/tests/test_core_first_boundary.py +0 -111
- agentauthlayer-0.1.11/tests/test_sqlite_repos.py +0 -167
- agentauthlayer-0.1.11/tests/test_storage.py +0 -237
- agentauthlayer-0.1.11/tests/test_tool_registry.py +0 -197
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/MANIFEST.in +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/README.md +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/__main__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/agents.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/audit.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/auth.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/cli.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/client.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/context.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/core.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/credentials.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/delegation.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/exceptions.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/models.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/policy.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/policy_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/principals.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/registry.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/runtime.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/server_runtime.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/session.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/storage.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/tokens.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/web_dist/favicon.ico +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/web_dist/grid.svg +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/web_dist/placeholder.svg +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agent_auth/web_dist/robots.txt +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/dependency_links.txt +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/entry_points.txt +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/agentauthlayer.egg-info/top_level.txt +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/agents.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/audit.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/auth.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/bootstrap.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/health.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/policy.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/api/routes/tokens.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/core/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/core/db.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/core/errors.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/core/logging.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/dependencies/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/dependencies/security.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/domain/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/domain/enums.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/main.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/middleware/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/middleware/correlation.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/agent_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/audit_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/constraint_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/delegation_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/role_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_agent_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_audit_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_constraint_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_delegation_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_permission_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_role_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_token_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/sqlite_user_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/token_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/repositories/user_repo.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/agent.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/audit.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/auth.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/bootstrap.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/device_agents.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/policy.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/token.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/schemas/user.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/__init__.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/agent_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/audit_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/device_agent_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/policy_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/auth_app/services/token_service.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/setup.cfg +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/tests/test_auth_flow.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/tests/test_health.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/tests/test_iam_policy.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/tests/test_project_flow.py +0 -0
- {agentauthlayer-0.1.11 → agentauthlayer-0.1.12}/tests/test_runtime_binding.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentauthlayer
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary: Library-first authentication and authorization SDK for AI agents
|
|
5
5
|
Author: Vaibhav Ahluwalia
|
|
6
6
|
License: MIT
|
|
@@ -26,6 +26,7 @@ Requires-Dist: bcrypt==4.0.1
|
|
|
26
26
|
Requires-Dist: python-multipart
|
|
27
27
|
Requires-Dist: httpx
|
|
28
28
|
Requires-Dist: sqlalchemy
|
|
29
|
+
Requires-Dist: psycopg2-binary
|
|
29
30
|
Requires-Dist: email-validator
|
|
30
31
|
|
|
31
32
|
# agentauthlayer
|
|
@@ -129,6 +129,9 @@ class CoreUserService:
|
|
|
129
129
|
def list_invites(self) -> list[InviteT]:
|
|
130
130
|
return self.store.list_invites()
|
|
131
131
|
|
|
132
|
+
def get_user_by_email(self, email: str) -> UserT | None:
|
|
133
|
+
return self.store.get_user_by_email(email)
|
|
134
|
+
|
|
132
135
|
def get_user_by_id(self, user_id: str) -> UserT | None:
|
|
133
136
|
return self.store.get_user_by_id(user_id)
|
|
134
137
|
|