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

> Obtiene el resultado de una llamada correcta a PFAuthenticationGetEntityWithSecretKeyAsync.

Obtiene el resultado de una llamada correcta a PFAuthenticationGetEntityWithSecretKeyAsync.

## Sintaxis

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

### Parámetros

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

XAsyncBlock para la operación asincrónica.

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

PFEntityHandle que se puede usar para autenticar otras llamadas API de PlayFab.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Si la llamada al servicio no se realiza correctamente, el resultado será E\_PF\_ENCRYPTION\_KEY\_BROKEN, E\_PF\_NO\_VALID\_CERTIFICATE\_FOR\_AAD o cualquiera de los errores globales de PlayFab Service. Consulte la página de documentación "Handling PlayFab Errors" para obtener más detalles sobre el control de errores.

## Comentarios

Si se produce un error en la llamada a PFAuthenticationGetEntityWithSecretKeyAsync, entityHandle será null. De lo contrario, el identificador debe cerrarse con PFEntityCloseHandle cuando ya no sea necesario.

## Requisitos

**Encabezado:** PFAuthentication.h

## Consulte también

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


## Related topics

- [PFAuthenticationGetEntityWithSecretKeyAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeyasync.md)
- [PFEntityGetSecretKey](/es/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkey.md)
- [PFEntityGetSecretKeySize](/es/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkeysize.md)
- [PFAuthenticationGetEntityGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitygetresult.md)
- [PFAuthenticationGetEntityRequest](/es/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationgetentityrequest.md)
