@agorio/sdkDocs


Interface: VerifyOptions

Properties

clockSkewSec?

optional clockSkewSec: number

Allowed clock skew in seconds (default: 300)

Defined in

src/security/agent-attestation.ts:195


now()?

optional now: () => number

Provide a custom now (in seconds) for testing

Returns

number

Defined in

src/security/agent-attestation.ts:197


resolveSecret()

resolveSecret: (agentId) => null | string | Promise<null | string>

Lookup the HMAC secret for a given agentId. Return null to reject.

Parameters

agentId: string

Returns

null | string | Promise<null | string>

Defined in

src/security/agent-attestation.ts:193