check
The Buffalo Game server will trigger 'check' API for validate the user id and the user's sid.
Request Properties
- Name
userId- Type
- string
- Description
Player’s ID which is sent by operator in Game Launch request (player.userId) Game Launch
- Name
sid- Type
- string
- Description
Player’s session ID which is sent by operator in the Game Launch request (player.sid) Game Launch
- Name
uuid- Type
- string
- Description
Unique request id, that identifies CheckUserRequest
Response Properties
- Name
status- Type
- string
- Description
Please refer to the status page to implement the status code. Status Code Page
- Name
sid- Type
- string
- Description
Player’s session ID. Buffalo game will update user's session by this return value. Operator can decide renew it or return the original one.
- Name
uuid- Type
- string
- Description
Unique request id, that identifies CheckUserRequest
POST/check
Validation of redirected user
Request
POST
/check{
"sid":"sid-parameter-from-UserAuthentication-call",
"userId":"euID-parameter-from-UserAuthentication-call",
"uuid":"ce186440-ed92-11e3-ac10-0800200c9a66"
}
Response
{
"status":"OK",
"sid":"new-sid-to-be-used-for-api-calls-qwerty",
"uuid":"ce186440-ed92-11e3-ac10-0800200c9a66"
}