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

# PFAccountManagementClientLinkOpenIdConnectAsync

> 타이틀과 OpenID Connect 공급자 간의 기존 관계와 해당 공급자로부터의 OpenId를 기반으로 OpenID Connect 계정을 사용자의 PlayFab 계정에 연결합니다.

타이틀과 OpenID Connect 공급자 간의 기존 관계와 해당 공급자로부터의 OpenId Connect JWT를 기반으로 OpenID Connect 계정을 사용자의 PlayFab 계정에 연결합니다.

## 구문

```cpp theme={null}
HRESULT PFAccountManagementClientLinkOpenIdConnectAsync(  
    PFEntityHandle entityHandle,  
    const PFAccountManagementLinkOpenIdConnectRequest* request,  
    XAsyncBlock* async  
)  
```

### 매개 변수

**`entityHandle`**   PFEntityHandle

인증에 사용할 PFEntityHandle입니다.

**`request`**   [PFAccountManagementLinkOpenIdConnectRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkopenidconnectrequest)

채워진 요청 개체입니다.

**`async`**   XAsyncBlock\*<br />*Inout*

비동기 작업을 위한 XAsyncBlock입니다.

### 반환 값

형식: HRESULT

이 API 작업의 결과 코드입니다.

## 설명

이 API는 모든 플랫폼에서 사용할 수 있습니다. 참고: ClientLoginWithOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync. 작업의 상태를 가져오려면 XAsyncGetStatus를 호출합니다. 서비스 호출이 실패하면 비동기 결과는 E\_PF\_INVALID\_IDENTITY\_PROVIDER\_ID, E\_PF\_LINKED\_IDENTIFIER\_ALREADY\_CLAIMED 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 "Handling PlayFab Errors" 문서 페이지를 참조하세요.

## 요구 사항

**헤더:** PFAccountManagement.h

## 참고 항목

[PFAccountManagement 멤버](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [Services C API 개요 - PFAccountManagement.h](/ko/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementClientUnlinkOpenIdConnectAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkopenidconnectasync.md)
- [PFAccountManagementLinkOpenIdConnectRequest](/ko/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkopenidconnectrequest.md)
- [PFAccountManagementUnlinkOpenIdConnectRequest](/ko/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementunlinkopenidconnectrequest.md)
- [PFAccountManagementClientLinkGameCenterAccountAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkgamecenteraccountasync.md)
