Verify login
POST /v2/auth/verify_login
This endpoint enables the game to verify the login state of a specified user.
Request parameters
For query parameters, see Query parameters.
Parameter | Type | Description | Remark |
---|---|---|---|
openid | string | Unique user ID | Required |
token | string | User login state | Required |
Request sample
curl -sS -X POST -H 'Content-Type: application/json' 'https://test.intlgame.com/v2/auth/verify_login?channelid=11&gameid=11&os=5&source=0&ts=1590481177&sdk_version=2.0&sig=9d3a9c7257d445ae0b1ff31a4d69c16e' -d '{"openid":"5574152457717116678","token":"1d9d1dea1c094be1ddfeb9ef48f7f0aad72b5a8b"}'
Response parameters
Parameter | Type | Description |
---|---|---|
ret | int | Return code 0: success others: failure |
msg | string | Response message |
seq | string | Serial number of request URL |
Response sample
{
"ret":0,
"msg": "user is logged in.",
"seq": "1590985725-0266701833-005085-0000001160"
}