DeviceIdentityProtocol
Defined in the protocols module.AI Agent Seam for per-device challenge/response auth (implemented in the wrapper). Implementations must approve only on an exact device-key match — never on network reachability alone — and record how each device was approved.
Methods
issue_challenge()
Return a fresh single-use challenge nonce for a connecting client.
verify()
Verify
device against an issued nonce; return its role, or None if rejected.list_devices()
List known devices (id, role, approval path, last seen).
revoke()
Revoke one device; return
False if it was unknown.Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 406
