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

# 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\*](https://docs.xbox.com/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithnintendoserviceaccountrequest.md)

Objet de requête renseigné.

**`async`**   XAsyncBlock\*\
*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 Nintendo Switch. Voir aussi ClientLinkNintendoServiceAccountAsync, ClientUnlinkNintendoServiceAccountAsync. Une fois la tâche asynchrone terminée, appelez [PFAuthenticationLoginWithNintendoServiceAccountGetResult](https://docs.xbox.com/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresult.md) pour obtenir le résultat.

## Configuration requise

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

## Voir aussi

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


## Related topics

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