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
Returns
string
Throws
if a field breaks the same rules decodeAccessProof enforces, so a token this emits is one every gateway accepts.