Authentication
This section outlines the essential aspects of authenticating your requests to access our API services securely. Authentication is a crucial step in ensuring that only authorized users and applications can interact with our APIs, protecting sensitive data and maintaining the integrity of our services.
Types of Authentication
We offer different authentication methods to suit diverse use cases and requirements. The most common authentication mechanisms supported by our APIs are:
- API Key Authentication: This method involves including a unique API key with each request under a specific Http header. The API key acts as a simple yet effective way to identify and authorize applications or users.
- Basic HTTP Authentication: Basic HTTP Authentication is a widely-used, simple, and stateless authentication method. It involves including the username and password in the request's "Authorization" header encoded in Base64 format. It is essential to use this method only over secure connections (HTTPS) to prevent credentials from being transmitted in plaintext.
- HMAC Authentication: HMAC (Hash-based Message Authentication Code) is a more advanced authentication method that ensures both integrity and authenticity of API requests. It involves generating a cryptographic hash using secret keys and the request data, which is then sent along with the request. The server verifies the hash to authenticate the request and detect any tampering.
Getting Started with Authentication
To start using the API and benefit from its functionality, clients will need to obtain the necessary authentication credentials from Tuned Global. The process typically involves registering for an API key, obtaining the required username and password for Basic HTTP Authentication, or to be able to generate the HMAC credentials, depending on the authentication method you choose.
In the following sub sections, we'll provide step-by-step guides and code examples for each authentication type to help you seamlessly integrate authentication into your applications.
What made this section helpful for you?
What made this section unhelpful for you?
On this page
- Authentication