Type String
Return value none
Revision Current Public Release (2018.3326)
Keywords Google Play Games Services, game network, gpgs, getServerAuthCode
See also gpgs.*


Requests a special authentication code for a custom server that uses Google's OAuth client API.


gpgs.getServerAuthCode( params )
params (required)

Table. Contains parameters for the call — see the next section for details.

Parameter Reference

The params table includes parameters for the call.

serverId (required)

String. Custom server's OAuth client ID.

listener (optional)

Listener. Listener function which receives a getServerAuthCode event.