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

# PFAuthenticationServerLoginWithIOSDeviceIDRequest

> PFAuthenticationServerLoginWithIOSDeviceIDRequest データ モデル。iOS デバイスでは、UIDevice の uniqueIdentifier は iOS 5 以降非推奨となっており、この目的で advertisingIdentifier を使用すると Apple の認定プロセスで不合格となるため、DeviceId として identifierForVendor (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html# // apple_ref/occ/instp/UIDevice/identifierForVendor) を使用する必要があります。ユーザーがその iOS デバイスで初めてサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、ベンダー固有の iOS デバイス ID にリンクされます。この場合、PlayFab アカウントにはメールアドレスやユーザー名は関連付けられません。それ以外の場合、iOS デバイスにリンクされた PlayFab アカウントがなければ、その旨を示すエラーが返されるため、タイトルはユーザーに PlayFab アカウントの作成を案内できます。

PFAuthenticationServerLoginWithIOSDeviceIDRequest データ モデル。iOS デバイスでは、UIDevice の uniqueIdentifier は iOS 5 以降非推奨となっており、この目的で advertisingIdentifier を使用すると Apple の認定プロセスで不合格となるため、DeviceId として identifierForVendor ([https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice\_Class/index.html#](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/index.html#) // apple\_ref/occ/instp/UIDevice/identifierForVendor) を使用する必要があります。ユーザーがその iOS デバイスで初めてサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、ベンダー固有の iOS デバイス ID にリンクされます。この場合、PlayFab アカウントにはメールアドレスやユーザー名は関連付けられません。それ以外の場合、iOS デバイスにリンクされた PlayFab アカウントがなければ、その旨を示すエラーが返されるため、タイトルはユーザーに PlayFab アカウントの作成を案内できます。

## 構文

```cpp theme={null}
typedef struct PFAuthenticationServerLoginWithIOSDeviceIDRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* deviceId;  
    const char* deviceModel;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* OS;  
} PFAuthenticationServerLoginWithIOSDeviceIDRequest;  
```

### メンバー

**`createAccount`**   bool

この ID に現在リンクされている PlayFab アカウントがない場合、自動的に PlayFab アカウントを作成します。

**`customTags`**   PFStringDictionaryEntry const\*<br />*may be nullptr*

(オプション) リクエストに関連付けるオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

**`deviceId`**   const char\*<br />*is null-terminated*

ユーザーのデバイスのベンダー固有の iOS 識別子。

**`deviceModel`**   const char\*<br />*is null-terminated*

(オプション) ユーザーのデバイスの具体的なモデル。

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*<br />*may be nullptr*

(オプション) ユーザーに対して返す情報のフラグ。

**`OS`**   const char\*<br />*is null-terminated*

(オプション) ユーザーのデバイスの具体的なオペレーティング システムのバージョン。

## 要件

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

## 関連項目

[PFAuthenticationTypes のメンバー](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationServerLoginWithIOSDeviceIDAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidasync.md)
- [PFAuthenticationServerLoginWithAndroidDeviceIDRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithandroiddeviceidrequest.md)
- [PFAuthenticationServerLoginWithAndroidDeviceIDAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithandroiddeviceidasync.md)
- [PFAuthenticationServerLoginWithIOSDeviceIDGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidgetresult.md)
- [PFAuthenticationServerLoginWithAndroidDeviceIDGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithandroiddeviceidgetresult.md)
