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

# PFAuthenticationAuthenticateCustomIdRequest

> PFAuthenticationAuthenticateCustomIdRequest 数据模型。创建或返回 game_server 实体令牌。调用方必须是游戏实体。

PFAuthenticationAuthenticateCustomIdRequest 数据模型。创建或返回 game\_server 实体令牌。调用方必须是游戏实体。

## 语法

```cpp theme={null}
typedef struct PFAuthenticationAuthenticateCustomIdRequest {  
    const char* customId;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
} PFAuthenticationAuthenticateCustomIdRequest;  
```

### 成员

**`customId`**   const char\*<br />*is null-terminated*

用于创建和检索 game\_server 实体令牌的 customId。这在游戏级别是唯一的。CustomId 的长度必须介于 32 到 100 个字符之间。

**`customTags`**   PFStringDictionaryEntry const\*<br />*may be nullptr*

（可选）与请求关联的可选自定义标记（例如生成号、外部跟踪标识符等）。

**`customTagsCount`**   uint32\_t

customTags 的数量

## 要求

**头文件：** PFAuthenticationTypes.h

## 另请参阅

[PFAuthenticationTypes 成员](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [服务 C API 概览 - PFAuthenticationTypes.h](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationAuthenticateCustomIdResult](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [PFAuthenticationAuthenticateGameServerWithCustomIdGetResult](/zh-CN/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidgetresult.md)
- [PFAuthenticationLoginWithServerCustomIdRequest](/zh-CN/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithservercustomidrequest.md)
