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

> Inicia la sesión de un usuario con un JWT de Open ID Connect creado por una relación existente entre un título y un proveedor de Open ID Connect.

Inicia la sesión de un usuario con un JWT de Open ID Connect creado por una relación existente entre un título y un proveedor de Open ID Connect.

## Sintaxis

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

### Parámetros

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle devuelto de la llamada a PFServiceConfigCreateHandle.

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

Objeto de solicitud rellenado.

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

XAsyncBlock para la operación asincrónica.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Comentarios

Esta API está disponible en todas las plataformas. Vea también ClientLinkOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync. Cuando se complete la tarea asincrónica, llame a [PFAuthenticationLoginWithOpenIdConnectGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md) para obtener el resultado.

## Requisitos

**Encabezado:** PFAuthentication.h

## Consulte también

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


## Related topics

- [PFAuthenticationLoginWithOpenIdConnectGetResult](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md)
- [PFAuthenticationLoginWithOpenIdConnectGetResultSize](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresultsize.md)
- [Información general de la API de C de Services - PFAuthentication.h](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithOpenIdConnectAsync](https://docs.xbox.com/es/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)
