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

# PFAccountManagementLinkOpenIdConnectRequest

> PFAccountManagementLinkOpenIdConnectRequest 資料模型。

PFAccountManagementLinkOpenIdConnectRequest 資料模型。

## 語法

```cpp theme={null}
typedef struct PFAccountManagementLinkOpenIdConnectRequest {  
    const char* connectionId;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
    const char* idToken;  
} PFAccountManagementLinkOpenIdConnectRequest;  
```

### 成員

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

識別要使用哪個已設定 OpenID Connect 提供者關聯的名稱。最多 100 個字元。

**`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*

（選擇性）如果已有其他使用者連結至特定 OpenId Connect 使用者，則取消連結該使用者並重新連結。

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

身分識別提供者在登入後傳回的 JSON Web 權杖 (JWT)。以身分識別提供者回應中的 id\_token 欄位表示。用於驗證要求，並尋找要連結的使用者識別碼 (OpenID Connect 主體)。

## 需求

**標頭：** PFAccountManagementTypes.h

## 另請參閱

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


## Related topics

- [PFAccountManagementClientLinkOpenIdConnectAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkopenidconnectasync.md)
- [服務 C API 概觀 - PFAccountManagementTypes.h](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementUnlinkOpenIdConnectRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkopenidconnectrequest.md)
- [PFAccountManagementClientUnlinkOpenIdConnectAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkopenidconnectasync.md)
- [PFAccountManagementLinkPSNIdRequest](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkpsnidrequest.md)
