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

# PFAuthenticationReLoginWithBattleNetAsync

> 既存の PFEntityHandle を再認証します。EntityToken の有効期限が切れて PlayFab SDK が更新できない状況に対処するために使用します。

既存の PFEntityHandle を再認証します。EntityToken の有効期限が切れて PlayFab SDK が更新できない状況に対処するために使用します。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

再ログインする PFEntityHandle。

**`request`**   [PFAuthenticationLoginWithBattleNetRequest\*](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithbattlenetrequest.md)

値が設定されたリクエスト オブジェクト。

**`async`**   XAsyncBlock\*\
*Inout*

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 解説

操作の状態を取得するには XAsyncGetStatus を呼び出します。成功した場合、PFEntityHandle にキャッシュされている EntityToken がその場で更新されます。

## 要件

**ヘッダー:** PFAuthentication.h

## 関連項目

[PFAuthentication のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)


## Related topics

- [PFAuthenticationLoginWithBattleNetAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetasync.md)
- [PFAuthenticationServerLoginWithBattleNetAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithbattlenetasync.md)
- [PFAuthenticationLoginWithBattleNetGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetgetresult.md)
- [PFAuthenticationLoginWithBattleNetGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithbattlenetgetresultsize.md)
- [PFAuthenticationServerLoginWithBattleNetGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithbattlenetgetresult.md)
