Skip to main content
Version: 5.7.0

Authenticate

This service is used to authenticate the server request for the session based protocol.

Results

NameDescription
sessionIdString to pass in with subsequent requests
ServiceOperation
authenticationV2AUTHENTICATE

Method Parameters

ParameterDescription
gameIdSame usage as for simple request
serverNameSame usage as for simple request
gameSecretSame usage as for simple request

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"packetId": 0,
"messageResponses": [
{
"reasonCode": 0,
"errorResponse": false,
"data": {
"heartbeatSeconds": 1890,
"sessionId": "57s9trm73b9qeqlmnnvij8l2fn"
},
"statusCode": 200,
"statusMessage": null
}
]
}