> ## 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.

# PFAccountManagementLinkSteamAccountRequest

> PFAccountManagementLinkSteamAccountRequest 数据模型。Steam 身份验证通过 Steam 会话票据完成。有关票据的详细信息可查阅。

PFAccountManagementLinkSteamAccountRequest 数据模型。Steam 身份验证通过 Steam 会话票据完成。有关票据的详细信息可在 Steamworks SDK 中查阅，此处：[https://partner.steamgames.com/documentation/auth](https://partner.steamgames.com/documentation/auth)（需要登录）。注意：若要使 Steam 身份验证有效，必须在 PlayFab 游戏管理器（在"属性"下）中为标题配置 Steam 应用程序 ID 和发布者密钥。有关为你的标题创建发布者密钥（在 PlayFab 中称为机密密钥）的信息，请参阅此处：[https://partner.steamgames.com/documentation/webapi#publisherkey](https://partner.steamgames.com/documentation/webapi#publisherkey)。

## 语法

```cpp theme={null}
typedef struct PFAccountManagementLinkSteamAccountRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* steamTicket;  
    bool const* ticketIsServiceSpecific;  
} PFAccountManagementLinkSteamAccountRequest;  
```

### 成员

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

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

**`customTagsCount`**   uint32\_t

customTags 的数量

**`forceLink`**   bool const\*<br />*may be nullptr*

（可选）如果另一个用户已链接到该帐户，则取消对另一个用户的链接并重新链接。

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

用户的身份验证令牌，作为字节数组从 Steam 返回，并转换为字符串（例如，字节 0x08 应变为 "08"）。

**`ticketIsServiceSpecific`**   bool const\*<br />*may be nullptr*

（可选）如果票据是使用 ISteamUser::GetAuthTicketForWebAPI() 并将 "AzurePlayFab" 作为标识字符串生成的，则为 True。如果票据是使用 ISteamUser::GetAuthSessionTicket() 生成的，则为 False。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

[PFAccountManagementTypes 成员](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkSteamAccountAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinksteamaccountasync.md)
- [服务 C API 概览 - PFAccountManagementTypes.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementLinkSteamIdRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
- [PFAccountManagementServerLinkSteamIdAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinksteamidasync.md)
- [PFAccountManagementLinkTwitchAccountRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinktwitchaccountrequest.md)
