2FA API Signature Generation
Follow the steps below to generate your signature:
- Retrieve your clientId (one which you are passing through the header X-Client-Id)
- Append this with CURRENT UNIX timestamp separated by a period (.)
- Encrypt this data using RSA encrypt with Public key you received – this is the signature.
- Pass this signature through the header X-Cf-Signature.
In the case of using our library, go through the libraries section. During the initialization process, you need to pass the key as a parameter.