Skip to content

Function: buildUsdidRegistrationToken() ​

ts
function buildUsdidRegistrationToken(identity, options): string;

Builds the ES256 registration token the app sends to register its USDID public key: a JWS-shaped envelope, itself base64url-encoded.

Parameters ​

ParameterType
identityUsdidIdentity
optionsRegistrationTokenOptions

Returns ​

string

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.