> ## 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](/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 字段。用于验证请求并查找要链接的用户 ID（OpenID Connect 主题）。

## 要求

**头文件：** PFAccountManagementTypes.h

## 另请参阅

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


## Related topics

- [PFAccountManagementClientLinkOpenIdConnectAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkopenidconnectasync.md)
- [服务 C API 概览 - PFAccountManagementTypes.h](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [PFAccountManagementUnlinkOpenIdConnectRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkopenidconnectrequest.md)
- [PFAccountManagementClientUnlinkOpenIdConnectAsync](/zh-CN/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkopenidconnectasync.md)
- [PFAccountManagementLinkSteamIdRequest](/zh-CN/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinksteamidrequest.md)
