> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationAuthenticateCustomIdResult

> PFAuthenticationAuthenticateCustomIdResult 資料模型。

PFAuthenticationAuthenticateCustomIdResult 資料模型。

## 語法

```cpp theme={null}
typedef struct PFAuthenticationAuthenticateCustomIdResult {  
    const PFAuthenticationEntityTokenResponse* entityToken;  
    bool newlyCreated;  
} PFAuthenticationAuthenticateCustomIdResult;  
```

### 成員

**`entityToken`**   const [PFAuthenticationEntityTokenResponse\*](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse.md)\
*may be nullptr*

（選擇性）產生的權杖，用來為 game\_server 呼叫設定 X-EntityToken。

**`newlyCreated`**   bool

如果帳戶是在此次驗證時新建立的，則為 True。

## 需求

**標頭：** PFAuthenticationTypes.h

## 另請參閱

[PFAuthenticationTypes 成員](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [服務 C API 概觀 - PFAuthenticationTypes.h](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [PFAuthenticationAuthenticateCustomIdRequest](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidrequest.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
