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

# PFAuthenticationLoginWithNintendoServiceAccountRequest

> PFAuthenticationLoginWithNintendoServiceAccountRequest 資料模型。

PFAuthenticationLoginWithNintendoServiceAccountRequest 資料模型。

## 語法

```cpp theme={null}
typedef struct PFAuthenticationLoginWithNintendoServiceAccountRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* identityToken;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* playerSecret;  
} PFAuthenticationLoginWithNintendoServiceAccountRequest;  
```

### 成員

**`createAccount`**   bool

如果目前沒有 PlayFab 帳戶連結至此識別碼，則自動建立一個。

**`customTags`**   PFStringDictionaryEntry const\*\
*may be nullptr*

（選擇性）與要求相關聯的選擇性自訂標籤（例如組建編號、外部追蹤識別碼等）。

**`customTagsCount`**   uint32\_t

customTags 的計數

**`identityToken`**   const char\*\
*is null-terminated*

Nintendo 在登入後傳回的 JSON Web 權杖 (JWT)。

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*\
*may be nullptr*

（選擇性）指定要為使用者傳回哪些資訊的旗標。

**`playerSecret`**   const char\*\
*is null-terminated*

（選擇性）用來驗證 API 要求簽章的玩家密碼。

## 需求

**標頭：** PFAuthenticationTypes.h

## 另請參閱

[PFAuthenticationTypes 成員](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)


## Related topics

- [PFAuthenticationLoginWithNintendoServiceAccountAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationReLoginWithNintendoServiceAccountAsync](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithnintendoserviceaccountasync.md)
- [Login With Nintendo Service Account](https://docs.xbox.com/api-reference/authentication/login-with-nintendo-service-account.md)
- [PFAuthenticationLoginWithNintendoServiceAccountGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresult.md)
- [PFAuthenticationLoginWithNintendoServiceAccountGetResultSize](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountgetresultsize.md)
