Skip to content

Function: buildAttestationParams() ​

ts
function buildAttestationParams(challengeNonce): string;

Builds the X-IG-Attest-Params value sent during CAA login: a single keystore attestation entry in the accepted "unavailable" state, carrying the server-issued challenge nonce. Returns an empty string when no nonce is known (the server has not been asked for one yet).

Parameters ​

ParameterType
challengeNoncestring

Returns ​

string

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