Skip to content

Function: buildUsdidHeader() ​

ts
function buildUsdidHeader(identity, options?): string;

Builds the three-part signed X-Meta-Usdid value: <usdid>.<expiresAt>.<sig>, where the signature covers <usdid>.<expiresAt>.

Parameters ​

ParameterType
identityUsdidIdentity
options?UsdidHeaderOptions

Returns ​

string

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