gpgs.getServerAuthCode()

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

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 — see the next section for details.

Parameter Reference

serverId (required)

String. Custom server's OAuth client id.

listener (optional)

Listener. Receives getServerAuthCode event.