verify • AI Agent SDK

verify: Verify “device“ against an issued nonce; return its role, or “None“ if rejected.

verify

Method

</div>

This is a method of the DeviceIdentityProtocol class in the protocols module.

Verify `device against an issued nonce; return its role, or None` if rejected.

Signature

python
def verify(device: DeviceAuth) -> Optional[str]

Parameters

ParamField DeviceAuth

No description available.

Returns

ResponseField Optional[str]

The result of the operation.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 417