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

# PFAuthenticationLoginWithNintendoServiceAccountAsync

> Connecte l'utilisateur avec un jeton de compte de service Nintendo.

Connecte l'utilisateur avec un jeton de compte de service Nintendo.

## Syntaxe

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

### Paramètres

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigHandle retourné par l'appel à PFServiceConfigCreateHandle.

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

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 Nintendo Switch. Voir aussi ClientLinkNintendoServiceAccountAsync, ClientUnlinkNintendoServiceAccountAsync. Une fois la tâche asynchrone terminée, appelez [PFAuthenticationLoginWithNintendoServiceAccountGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresult) 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

- [PFAuthenticationLoginWithNintendoServiceAccountGetResultSize](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresultsize.md)
- [PFAuthenticationLoginWithNintendoServiceAccountGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresult.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithNintendoServiceAccountAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationLoginWithNintendoServiceAccountRequest](/fr-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithnintendoserviceaccountrequest.md)
