QueryIDToken [Player Network SDK Only]
[Player Network SDK Only] Exchange OpenID for ID token which is used for PlayFab login.
Supported Platform
- Unity
- Unreal Engine
Supports
Android, iOS, Windows
platform.Supports
Android, iOS, Windows
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();