QueryIDToken [Player Network SDK Only]
fff import EngineTabs from '/components/EngineTab.js'; import TabItem from '@theme/TabItem'; import SupportingPlatform from '../../_SupportingPlatform.mdx';
[Player Network SDK Only] Exchange OpenID for ID token which is used for PlayFab login.
Supported Platform
Function Definition
- Unity
- Unreal Engine
void QueryIDToken();
static void QueryIDToken();
Callback Processing
The callback processing API is GUAIDTokenResultObservers. The callback data structure is GUAIDTokenResult.
- Unity
- Unreal Engine
The callback event is IDTokenEvents
.
The callback methodID is GUA_ACCOUNT_QUERY_TOKEN_ID
.
The callback event is OnIDTokenResultNotify.
The callback methodID is kMethodIDAccountQueryTokenID
.
Code Sample
- Unity
- Unreal Engine
UnionAdapterAPI.GetAccountService().QueryIDToken();
GUA_NAMESPACE::GUAAccountService::QueryIDToken();