gpgs.getServerAuthCode()

Type String
Return value none
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs, getServerAuthCode
See also gpgs.*

Overview

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

Syntax

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.