@agorio/sdk • Docs


Function: parseAttestation()

parseAttestation(header): ParsedAttestation | null

Parse an X-Agorio-Attestation header value into its components. Returns null if the header is malformed.

Parameters

• header: undefined | null | string

Returns

ParsedAttestation | null

Defined in

src/security/agent-attestation.ts:167