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

# PFAuthenticationGetEntityWithSecretKeyGetResult

> Obtient le résultat d'un appel PFAuthenticationGetEntityWithSecretKeyAsync réussi.

Obtient le résultat d'un appel PFAuthenticationGetEntityWithSecretKeyAsync réussi.

## Syntaxe

```cpp theme={null}
HRESULT PFAuthenticationGetEntityWithSecretKeyGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle  
)  
```

### Paramètres

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

XAsyncBlock pour l'opération asynchrone.

**`entityHandle`**   PFEntityHandle\*<br />*output*

PFEntityHandle pouvant être utilisé pour authentifier d'autres appels d'API PlayFab.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Si l'appel de service échoue, le résultat sera E\_PF\_ENCRYPTION\_KEY\_BROKEN, E\_PF\_NO\_VALID\_CERTIFICATE\_FOR\_AAD ou l'une des erreurs globales du service PlayFab. Consultez la page de documentation « Handling PlayFab Errors » pour plus de détails sur la gestion des erreurs.

## Notes

Si l'appel PFAuthenticationGetEntityWithSecretKeyAsync échoue, entityHandle sera null. Sinon, le handle doit être fermé avec PFEntityCloseHandle lorsqu'il n'est plus nécessaire.

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFAuthenticationGetEntityWithSecretKeyAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeyasync.md)
- [PFEntityGetSecretKey](/fr-CA/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkey.md)
- [PFEntityGetSecretKeySize](/fr-CA/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkeysize.md)
- [PFAuthenticationGetEntityGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentityasync.md)
