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

# PFAuthenticationLoginWithAppleAsync

> Connecte l'utilisateur avec un jeton d'identité Sign in with Apple.

Connecte l'utilisateur avec un jeton d'identité Sign in with Apple.

## Syntaxe

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

### Paramètres

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle renvoyé par l'appel PFServiceConfigCreateHandle.

**`request`**   [PFAuthenticationLoginWithAppleRequest\*](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithapplerequest)

Objet de requête renseigné.

**`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.

## Notes

Cette API est disponible sur iOS et macOS. Voir aussi ClientLinkAppleAsync, ClientUnlinkAppleAsync. Une fois la tâche asynchrone terminée, appelez [PFAuthenticationLoginWithAppleGetResult](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult) pour obtenir le résultat.

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFAuthenticationLoginWithAppleGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [PFAuthenticationLoginWithAppleGetResult](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
- [Démarrage rapide iOS](/fr/services/playfab/sdks/c/quickstart-ios.md)
- [Démarrage rapide macOS](/fr/services/playfab/sdks/c/quickstart-macos.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
