class Recall extends Resource (View source)

The "recall" collection of methods.

Typical usage is:

 $gamesService = new Google\Service\Games(...);
 $recall = $gamesService->recall;

Methods

gamesPlayerTokens(string $sessionId, array $optParams = [])

Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.

lastTokenFromAllDeveloperGames(string $sessionId, array $optParams = [])

Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.

linkPersona(LinkPersonaRequest $postBody, array $optParams = [])

Associate the PGS Player principal encoded in the provided recall session id with an in-game account (recall.linkPersona)

resetPersona(ResetPersonaRequest $postBody, array $optParams = [])

Delete all Recall tokens linking the given persona to any player (with or without a profile). (recall.resetPersona)

retrieveTokens(string $sessionId, array $optParams = [])

Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile. (recall.retrieveTokens)

unlinkPersona(UnlinkPersonaRequest $postBody, array $optParams = [])

Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value. (recall.unlinkPersona)

Details

RetrieveGamesPlayerTokensResponse gamesPlayerTokens(string $sessionId, array $optParams = [])

Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.

(recall.gamesPlayerTokens)

Parameters

string $sessionId

Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.

array $optParams

Optional parameters.

Return Value

RetrieveGamesPlayerTokensResponse

Exceptions

Exception

RetrieveDeveloperGamesLastPlayerTokenResponse lastTokenFromAllDeveloperGames(string $sessionId, array $optParams = [])

Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.

(recall.lastTokenFromAllDeveloperGames)

Parameters

string $sessionId

Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.

array $optParams

Optional parameters.

Return Value

RetrieveDeveloperGamesLastPlayerTokenResponse

Exceptions

Exception

LinkPersonaResponse linkPersona(LinkPersonaRequest $postBody, array $optParams = [])

Associate the PGS Player principal encoded in the provided recall session id with an in-game account (recall.linkPersona)

Parameters

LinkPersonaRequest $postBody
array $optParams

Optional parameters.

Return Value

LinkPersonaResponse

Exceptions

Exception

ResetPersonaResponse resetPersona(ResetPersonaRequest $postBody, array $optParams = [])

Delete all Recall tokens linking the given persona to any player (with or without a profile). (recall.resetPersona)

Parameters

ResetPersonaRequest $postBody
array $optParams

Optional parameters.

Return Value

ResetPersonaResponse

Exceptions

Exception

RetrievePlayerTokensResponse retrieveTokens(string $sessionId, array $optParams = [])

Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile. (recall.retrieveTokens)

Parameters

string $sessionId

Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.

array $optParams

Optional parameters.

Return Value

RetrievePlayerTokensResponse

Exceptions

Exception

UnlinkPersonaResponse unlinkPersona(UnlinkPersonaRequest $postBody, array $optParams = [])

Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value. (recall.unlinkPersona)

Parameters

UnlinkPersonaRequest $postBody
array $optParams

Optional parameters.

Return Value

UnlinkPersonaResponse

Exceptions

Exception