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

# PFAuthenticationReLoginWithXUserAsync

> Reautentica um PFEntityHandle existente usando um XUserHandle. Usado para resolver situações em que o EntityToken expirou e o SDK do PlayFab não consegue atualizá-lo.

Reautentica um PFEntityHandle existente usando um XUserHandle. Usado para resolver situações em que o EntityToken expirou e o SDK do PlayFab não consegue atualizá-lo.

## Sintaxe

```cpp theme={null}
HRESULT PFAuthenticationReLoginWithXUserAsync(  
    PFEntityHandle entityHandle,  
    const PFAuthenticationLoginWithXUserRequest* request,  
    XAsyncBlock* async  
)  
```

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle para fazer login novamente.

**`request`**   [PFAuthenticationLoginWithXUserRequest\*](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithxuserrequest)

Objeto de solicitação preenchido.

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

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Chame XAsyncGetStatus para obter o resultado da operação. Se for bem-sucedida, o EntityToken armazenado em cache para o PFEntityHandle será atualizado no local.

## Requisitos

**Cabeçalho:** PFAuthentication\_Xbox.h

## Confira também

[Membros de PFAuthentication\_Xbox](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [Tutorial do Event Pipeline](/pt-BR/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [Visão geral da API C do Services - PFAuthentication.h](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithPSNAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithpsnasync.md)
- [PFAuthenticationReLoginWithAppleAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithappleasync.md)
- [PFAuthenticationReLoginWithCustomIDAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithcustomidasync.md)
