Skip to main content

Decrypted authentication

POST /v2/auth/decrypt_aes

This endpoint enables the game to get the decrypted authentication information.

Request parameters

For query parameters, see Query parameters.

ParameterTypeDescriptionRemark
encodeparamstringEncrypted stringRequired

Request sample

https://test.intlgame.com/v2/auth/decrypt_aes?channelid=1&gameid=11&os=1&channelid=1&seq=123&ts=1529907080&sdk_version=&sig=8279b3214fc4900e7551ee21593b4d80&encodeparam=d9b48147c3b809a2bebbd8b2e96c26f1

Response parameters

If the request succeeds, the decrypted encodeparam string in plain text is returned. If the request fails, a JSON string with the following fields is returned.

ParameterTypeDescriptionExample
retintReturn code
0: success
others: failure
0
msgstringResponse message"decryp data fail!"
seqstringSerial number of request URL"12345"

Response sample

acctype=qq&appid=100703379&openid=4FC5813635C21D7C0A64729E4E2D3041&access_token=B85D2A1D7DB1B564CADE7116BF70AD0D&platid=1