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

# PFAuthenticationLoginWithNintendoServiceAccountAsync

> Nintendo サービス アカウント トークンでユーザーをサインインさせます。

Nintendo サービス アカウント トークンでユーザーをサインインさせます。

## 構文

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

### パラメーター

**`serviceConfigHandle`**   PFServiceConfigHandle

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

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

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

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

非同期操作用の XAsyncBlock。

### 戻り値

型: HRESULT

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

## 解説

この API は Nintendo Switch で利用できます。ClientLinkNintendoServiceAccountAsync、ClientUnlinkNintendoServiceAccountAsync も参照してください。非同期タスクが完了したら、[PFAuthenticationLoginWithNintendoServiceAccountGetResult](/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresult) を呼び出して結果を取得します。

## 要件

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

## 関連項目

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