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

# PFAuthenticationReLoginWithGameCenterAsync

> Reautentica um PFEntityHandle existente fazendo login com o Apple Game Center quando um EntityToken expirou e o SDK não consegue atualizá-lo.

Reautentica um PFEntityHandle existente. 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 PFAuthenticationReLoginWithGameCenterAsync(  
    PFEntityHandle entityHandle,  
    const PFAuthenticationLoginWithGameCenterRequest* request,  
    XAsyncBlock* async  
)  
```

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle para fazer login novamente.

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

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 status da operação. Se for bem-sucedida, o EntityToken armazenado em cache para o PFEntityHandle será atualizado no local.

## Requisitos

**Cabeçalho:** PFAuthentication.h

## Confira também

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


## Related topics

- [Visão geral da API C do Services - PFAuthentication.h](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationReLoginWithGooglePlayGamesServicesAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithgoogleplaygamesservicesasync.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)
