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

# PFAuthenticationGetEntityGetResult

> Obtiene el resultado de una llamada correcta a PFAuthenticationGetEntityAsync.

Obtiene el resultado de una llamada correcta a PFAuthenticationGetEntityAsync.

## Sintaxis

```cpp theme={null}
HRESULT PFAuthenticationGetEntityGetResult(  
    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 PFAuthenticationGetEntityAsync, 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

- [PFAuthenticationGetEntityAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentityasync.md)
- [Información general de la API de C de Services - PFAuthentication.h](/es/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationGetEntityWithSecretKeyGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationgetentitywithsecretkeygetresult.md)
- [PFAuthenticationValidateEntityTokenGetResult](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresult.md)
- [PFAuthenticationValidateEntityTokenGetResultSize](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresultsize.md)
