Skip to main content

GetTokenIDResult [Player Network SDK Only]

[Player Network SDK Only] Get IdToken from the result of QueryIDToken.

Supported Platform

Supports Android, iOS, Windows platform.

Function Definition

GUAIDTokenResult GetIDTokenResult();

Input Parameters

No parameters are passed.

Return Value

The data structure is GUAIDTokenResult. The returned GUAIDTokenResult encode the information in the login state to JWT string, which can be sent to PlayFab game server for authentication.

Code Sample

GUAIDTokenResult result = UnionAdapterAPI.GetAccountService().GetIDTokenResult()