Required Parameters for Creating the Token Password
The token password is an authentication string that has a limitation of approximately 500 characters. The string includes a concatenation of parameters with the ampersand character (&) as the delimiter. The values of the required parameters are arranged as follows:
<account-id>&<consumer-key>&<token-key>&<nonce>&<timestamp>&<signature>&<signature-algorithm>
Parameter |
Description |
---|---|
Base string |
The base string is the variable created from concatenating a series of values, with an ampersand as a delimiter between values. The values are arranged in the following sequence:
All parameters for creating the base string use the percent encoding. For more information about percent encoding, see https://tools.ietf.org/html/rfc5849#section-3.6. |
Signature |
The first step in generating the signature is creating the signature key. The signature key is the variable created from concatenating the consumer secret and the token secret. For more information about the consumer secret and the token secret, see Requirements for Using Token-based Authentication in Connect. After you created the signature key, use the base string and signature key to create the signature parameter. The signature must be encoded by Base64 and only the HMAC-SHA256 algorithm is supported. For more information, see Creating the Token Password. |
Signature algorithm |
The Connect Service supports only the HMAC-SHA256 algorithm. |