GetTokenIDResult
AndroidiOSWindows
If you were looking for the method for use with Unity, see GetTokenIDResult for Unity SDK.
If you were looking for the method for use with Unity, see GetTokenIDResult for Unity SDK.
Get ID token from QueryIDToken
cache result.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static int GetIDTokenResult(FINTLIDToken& id_token_result)
Input parameters
Name | Type | Description |
---|---|---|
id_token | FINTLIDToken | The data structure that is initialized and return with the ID Token for PlayFab authentication. |
Code sample
FINTLIDTokenResult result;
UINTLSDKAPI::GetIDTokenResult(result);
Return value
Returns FINTLIDTokenResult.
FINTLIDTokenResult: Takes the FINTLAuthResult data structure to construct QueryIDTokenResult
Name | Type | Description |
---|---|---|
IdToken | FString | Player Network SDK unique OpenID |
FINTLAuthResult: inherits from FINTLBaseResult and contains authentication information.
Parameter | Type | Description |
---|---|---|
OpenID | FString | Player Network SDK unique user ID |
Token | FString | Player Network SDK user token |
TokenExpire | int64 | Token expiration timestamp Example: 1600844518 |
FirstLogin | int32 | Whether it is the first login of the user -1: Unknown 0: No 1: Yes |
UserName | FString | User defined nickname |
Gender | int32 | Gender 0: Undefined 1: Male 2: Female |
Birthdate | FString | Date of birth Example: 1987-02-23 |
PictureUrl | FString | Profile avatar URL |
Pf | FString | pf value for Midas payments |
Pfkey | FString | pf key for Midas payments |
NeedRealNameAuth | bool | Whether real-name verification is required |
ChannelID | int32 | Channel ID |
ChannelName | FString | Channel definition For more information, see Channel definition |
ChannelInfo | FString | Third-party channel authentication information (JSON string) |
BindList | FString | Linking information (JSON string array) |