Skip to main content

encodeJoseBlob() function

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Stringifies a JSON object and encodes the bytes of the resulting string to a base64url representation.

Signature:

export declare function encodeJoseBlob(payload: {}): string

Parameters

ParameterTypeDescription
payload{}

the object to be encoded

This API may change without a BREAKING CHANGE notice.

Returns:

string