@agorio/sdk • Docs
Interface: AttestationOptions
Properties
agentId
agentId:
string
Stable agent identifier (“agent_org_team_purpose”)
Defined in
src/security/agent-attestation.ts:29
clockSkewSec?
optionalclockSkewSec:number
Default skew tolerance for verification (seconds). Default: 300 (5 min).
Defined in
src/security/agent-attestation.ts:38
secret?
optionalsecret:string
Pre-shared secret with the merchant (HMAC key). Required unless sign is supplied.
Defined in
src/security/agent-attestation.ts:31
sign()?
optionalsign: (canonical) =>string|Promise<string>
Optional custom signer — receives the canonical envelope string and returns a hex signature. Use this to swap in ed25519 / WebAuthn / KMS-backed signing.
Parameters
• canonical: string
Returns
string | Promise<string>
Defined in
src/security/agent-attestation.ts:36