Query ID Token [Player Network SDK only]
[Player Network SDK Only] Exchange OpenID for ID Token, used for PlayFab login.
Supported platforms
- Unity
- Unreal Engine
Supports
Android, iOS, Windows platform.Supports
Android, iOS, Windows platform.Function Definition
- Unity
- Unreal Engine
void QueryIDToken();
static void QueryIDToken();
Callback Handling
The callback interface is GUAIDTokenResultObservers.The callback data structure is GUAIDTokenResult.
- Unity
- Unreal Engine
The callback event is IDTokenEvents. The callback ID is GUA_ACCOUNT_QUERY_TOKEN_ID.
The callback event is OnIDTokenResultNotify. The callback ID is kMethodIDAccountQueryTokenID.
Code example
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryIDToken();
GUA_NAMESPACE::GUAAccountService::QueryIDToken();