> ## 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 Game Manager (\[屬性] 下) 中為 Title 設定 Steam 應用程式識別碼和發行者金鑰。如需為您的 Title 建立發行者金鑰 (在 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](/zh-TW/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*\
*may be nullptr*

（選擇性）與要求相關聯的選擇性自訂標籤（例如組建編號、外部追蹤識別碼等）。

**`customTagsCount`**   uint32\_t

customTags 的計數

**`forceLink`**   bool const\*\
*may be nullptr*

（選擇性）如果已有其他使用者連結至此帳戶，則取消連結該使用者並重新連結。

**`steamTicket`**   const char\*\
*is null-terminated*

使用者的驗證權杖，由 Steam 以位元組陣列傳回並轉換為字串 (例如，位元組 0x08 應變成 "08")。

**`ticketIsServiceSpecific`**   bool const\*\
*may be nullptr*

（選擇性）如果票證是使用 ISteamUser::GetAuthTicketForWebAPI() 並以 "AzurePlayFab" 作為身分識別字串所產生，則為 True。如果票證是使用 ISteamUser::GetAuthSessionTicket() 所產生，則為 False。

## 需求

**標頭：** PFAccountManagementTypes.h

## 另請參閱

[PFAccountManagementTypes 成員](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)


## Related topics

- [PFAccountManagementClientLinkSteamAccountAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinksteamaccountasync.md)
- [服務 C API 概觀 - PFAccountManagementTypes.h](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [Link Steam Account](/api-reference/account-management/link-steam-account.md)
- [PFAccountManagementLinkSteamIdRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
- [PFAccountManagementServerLinkSteamIdAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinksteamidasync.md)
