Static verification of an AgentIdentity (status + expiry).
(
data: AgentIdentityVerify,
db: Annotated[AsyncSession, Depends(get_db)],
)
| 268 | description="Perform static verification: status + expiry. For cryptographic verification use /challenge endpoints.", |
| 269 | ) |
| 270 | async def verify_identity( |
| 271 | data: AgentIdentityVerify, |
| 272 | db: Annotated[AsyncSession, Depends(get_db)], |
| 273 | ) -> AgentIdentityVerifyResponse: |
| 274 | """Static verification of an AgentIdentity (status + expiry).""" |
| 275 | svc = AgentIdentityService(db) |
| 276 | return await svc.verify(data) |
| 277 | |
| 278 | |
| 279 | @_identity.post( |
nothing calls this directly
no test coverage detected