> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationLoginWithOpenIdConnectAsync

> Conecta um usuário com um JWT do Open ID Connect criado por uma relação existente entre um título e um provedor do Open ID Connect.

Conecta um usuário com um JWT do Open ID Connect criado por uma relação existente entre um título e um provedor do Open ID Connect.

## Sintaxe

```cpp theme={null}
HRESULT PFAuthenticationLoginWithOpenIdConnectAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithOpenIdConnectRequest* request,  
    XAsyncBlock* async  
)  
```

### Parâmetros

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle retornado da chamada de PFServiceConfigCreateHandle.

**`request`**   [PFAuthenticationLoginWithOpenIdConnectRequest\*](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithopenidconnectrequest.md)

Objeto de solicitação preenchido.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock para a operação assíncrona.

### Valor retornado

Tipo: HRESULT

Código de resultado para esta operação de API.

## Comentários

Esta API está disponível em todas as plataformas. Consulte também ClientLinkOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync. Quando a tarefa assíncrona for concluída, chame [PFAuthenticationLoginWithOpenIdConnectGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md) para obter o resultado.

## Requisitos

**Cabeçalho:** PFAuthentication.h

## Confira também

[Membros de PFAuthentication](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationLoginWithOpenIdConnectGetResultSize](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresultsize.md)
- [PFAuthenticationLoginWithOpenIdConnectGetResult](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md)
- [Visão geral da API C do Services - PFAuthentication.h](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithOpenIdConnectAsync](https://docs.xbox.com/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithopenidconnectasync.md)
- [Login With Open Id Connect](https://docs.xbox.com/api-reference/authentication/login-with-open-id-connect.md)
