Signup Login

A JavaScript Key

The T2A methods may be invoked from client-side JavaScript. In order to secure this facility, we have created a system allowing you to create a secure temporary key. Advantages are:-

  1. There is no need to embed your API key in the HTML; use the temporary key.
  2. The temporary key will only work when invoked in a specified website domain.
  3. The temporary key will expire after a specified number of minutes, never more than 60.
  4. The temporary key can optionally be further secured to only operate on the final client's IP address.
  5. The key is encrypted using 256-bit AES encryption.

Use the method javascript_key to create the temporary key, to be embedded in your web page.

More information about using T2A from JavaScript can be found here.

Next: Security