gpgs.getServerAuthCode()

Type String
Return value none
Revision Release 2024.3703
Keywords Google Play Games Services, game network, gpgs
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 — see the next section for details.

Parameter Reference

serverId (required)

String. Custom server's OAuth client id.

listener (optional)

Listener. Receives getServerAuthCode event.