Skip to main content

Obtain IdToken (GetTokenIDResult) [Player Network SDK only]

[Player Network SDK Only] Retrieve the IdToken from the cached results of QueryIDToken

Supported Platforms

Supports Android, iOS, Windows platform.

Function Definition

GUAIDTokenResult GetIDTokenResult();

Input Parameters

No parameters are passed.

Return Value

Data structure GUAIDTokenResult. Returns GUAIDTokenResult, which compiles the information obtained from the login state into a JWT-encoded string that can be sent to the PlayFab game server for authentication.

Code Example

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