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

# 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\*\
*Inout*

XAsyncBlock para la operación asincrónica.

**`entityHandle`**   PFEntityHandle\*\
*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](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

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