> ## 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 {  
    PFAuthenticationEntityTokenResponse const* entityToken;  
    bool newlyCreated;  
} PFAuthenticationAuthenticateCustomIdResult;  
```

### 成员

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

（可选）生成的令牌，用于为 game\_server 调用设置 X-EntityToken。

**`newlyCreated`**   bool

如果在此身份验证时新建了帐户，则为 True。

## 要求

**头文件：** PFAuthenticationTypes.h

## 另请参阅

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


## Related topics

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