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

# PFAuthenticationLoginWithAppleAsync

> Sign in with Apple の ID トークンでユーザーをサインインさせます。

Sign in with Apple の ID トークンでユーザーをサインインさせます。

## 構文

```cpp theme={null}
HRESULT PFAuthenticationLoginWithAppleAsync(  
    PFServiceConfigHandle serviceConfigHandle,  
    const PFAuthenticationLoginWithAppleRequest* request,  
    XAsyncBlock* async  
)  
```

### パラメーター

**`serviceConfigHandle`**   PFServiceConfigHandle

PFServiceConfigCreateHandle 呼び出しから返される PFServiceConfigHandle。

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

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API は iOS と macOS で利用できます。ClientLinkAppleAsync、ClientUnlinkAppleAsync も参照してください。非同期タスクが完了したら、[PFAuthenticationLoginWithAppleGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md) を呼び出して結果を取得します。

## 要件

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

## 関連項目

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


## Related topics

- [PFAuthenticationLoginWithAppleGetResult](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
- [PFAuthenticationLoginWithAppleGetResultSize](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresultsize.md)
- [Services C API overview - PFAuthentication.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [クイックスタート iOS](https://docs.xbox.com/ja-jp/services/playfab/sdks/c/quickstart-ios.md)
- [クイックスタート macOS](https://docs.xbox.com/ja-jp/services/playfab/sdks/c/quickstart-macos.md)
