Validate Live Session Token
It should be noted that this step may be skipped for your final product, though it is essential during initial development stages to validate implementation.
After calculating our Live Session Token, the calculation may be validated through the following steps to re-calculate the lst_signature value retrieved from the /live_session_token endpoint. If the calculated value matches the return value, then we have a valid live session token. If the two do not match, there is an issue in your LST generation process.
Begin by converting the computed live session token value to a base64 decoded byte array.
Next, retrieve the UTF-8 byte array equivalent of our consumer key.
Create a new HMAC Sha1 object, using the decoded live session token as a key. We then hash our HMAC Sha1 object against our consumer key byte string.
Convert the resultant byte array to a hex string.
If our new hex string matches the received lst_signature value, then our computed_lst value may be used as the live_session_token in future requests. If the two are different, then there may be an issue in the live_session_token generation process.

