Documentation
T2A API Documentation
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:-
- There is no need to embed your API key in the HTML; use the temporary key.
- The temporary key will only work when invoked in a specified website domain.
- The temporary key will expire after a specified number of minutes, never more than 60.
- The temporary key can optionally be further secured to only operate on the final client's IP address.
- 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
Documentation on how to access the T2A API from client-side applications using a temporary JavaScript key.