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

# PFAuthenticationReLoginWithOpenIdConnectAsync

> EntityToken の有効期限が切れて SDK が更新できない場合に、OpenID Connect プロバイダーでサインインして既存の PFEntityHandle を再認証します。

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

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

再ログインする対象の PFEntityHandle。

**`request`**   [PFAuthenticationLoginWithOpenIdConnectRequest\*](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithopenidconnectrequest)

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

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

## 要件

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

## 関連項目

[PFAuthentication のメンバー](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [Services C API overview - PFAuthentication.h](/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationLoginWithOpenIdConnectAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectasync.md)
- [PFAuthenticationLoginWithOpenIdConnectGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresult.md)
- [PFAuthenticationLoginWithOpenIdConnectGetResultSize](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithopenidconnectgetresultsize.md)
- [PFAuthenticationLoginWithOpenIdConnectRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithopenidconnectrequest.md)
