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

# PFAuthenticationLoginWithOpenIdConnectAsync

> Connecte un utilisateur avec un JWT Open ID Connect créé par une relation existante entre un titre et un fournisseur Open ID Connect.

Connecte un utilisateur avec un JWT Open ID Connect créé par une relation existante entre un titre et un fournisseur Open ID Connect.

## Syntaxe

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

### Paramètres

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle retourné par l'appel à PFServiceConfigCreateHandle.

**`request`**   [PFAuthenticationLoginWithOpenIdConnectRequest\*](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithopenidconnectrequest)

Objet de requête rempli.

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

XAsyncBlock pour l'opération asynchrone.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Remarques

Cette API est disponible sur toutes les plateformes. Voir aussi ClientLinkOpenIdConnectAsync, ClientUnlinkOpenIdConnectAsync. Une fois la tâche asynchrone terminée, appelez [PFAuthenticationLoginWithOpenIdConnectGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult) pour obtenir le résultat.

## Configuration requise

**En-tête :** PFAuthentication.h

## Voir aussi

[Membres de PFAuthentication](/fr-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithOpenIdConnectGetResultSize](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresultsize.md)
- [PFAuthenticationLoginWithOpenIdConnectGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithOpenIdConnectAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithopenidconnectasync.md)
- [Login With Open Id Connect](/api-reference/authentication/login-with-open-id-connect.md)
