Skip to content

Function: encodeAccessProof() ​

encodeAccessProof(proof): string

Defined in: proof.ts:260

Encode a proof as the compact Bearer token carried in the relay auth header.

Parameters ​

proof ​

AccessProof

Returns ​

string

Throws ​

if a field breaks the same rules decodeAccessProof enforces, so a token this emits is one every gateway accepts.

2026 Meddleware. All jams preserved.