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

# PFAccountManagementClientLinkPSNAccountRequest

> PFAccountManagementClientLinkPSNAccountRequest 資料模型。

PFAccountManagementClientLinkPSNAccountRequest 資料模型。

## 語法

```cpp theme={null}
typedef struct PFAccountManagementClientLinkPSNAccountRequest {  
    const char* authCode;  
    const char* authVersion;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    int32_t const* issuerId;  
    const char* redirectUri;  
} PFAccountManagementClientLinkPSNAccountRequest;  
```

### 成員

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

PlayStation :tm: Network 提供的驗證碼。

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

（選擇性）選擇性的 PlayStation :tm: Network 驗證版本。控制要使用哪個 PlayStation :tm: Network 驗證版本。接受的值為 "v2" 和 "v3"。

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

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

**`customTagsCount`**   uint32\_t

customTags 的計數

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

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

**`issuerId`**   int32\_t const\*<br />*may be nullptr*

（選擇性）PlayStation :tm: Network 簽發者環境的識別碼。如果為 null，預設為生產環境。

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

要求驗證碼時提供給 PlayStation :tm: Network 的重新導向 URI。

## 需求

**標頭：** PFAccountManagementTypes.h

## 另請參閱

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


## Related topics

- [PFAccountManagementClientLinkPSNAccountAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkpsnaccountasync.md)
- [服務 C API 概觀 - PFAccountManagementTypes.h](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementClientLinkTwitchAccountRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinktwitchaccountrequest.md)
- [PFAccountManagementClientLinkXboxAccountRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkxboxaccountrequest.md)
- [PFAccountManagementClientLinkBattleNetAccountRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementclientlinkbattlenetaccountrequest.md)
