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

# PFAuthenticationLoginWithSteamRequest

> PFAuthenticationLoginWithSteamRequest データ モデル。Steam サインインは Steam Session Ticket を使用して行われます。チケットに関する詳細情報は次の場所で参照できます。

PFAuthenticationLoginWithSteamRequest データ モデル。Steam サインインは、Steam Session Ticket を使用して行われます。チケットに関する詳細情報は、Steamworks SDK の [https://partner.steamgames.com/documentation/auth](https://partner.steamgames.com/documentation/auth) を参照してください。注: Steam 認証を動作させるには、PlayFab Game Manager (アドオン マーケットプレースの Steam の下) で Steam Application ID と Web API キーをタイトルに構成する必要があります。Web API キーは、Steamworks サイトでお使いの App ID に関連付けられた任意のグループの Permissions ページから取得できます。ユーザーが初めて Steam アカウントでサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、指定されたアカウントの Steam ID にリンクされます。この場合、メール アドレスやユーザー名は PlayFab アカウントに関連付けられません。それ以外に、Steam アカウントにリンクされた PlayFab アカウントが存在しない場合はその旨を示すエラーが返されるので、タイトルはユーザーが PlayFab アカウントを作成できるよう誘導できます。

## 構文

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

### メンバー

**`createAccount`**   bool

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

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

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

**`customTagsCount`**   uint32\_t

customTags の数

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

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

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

(オプション) API リクエスト署名の検証に使用されるプレイヤー シークレット (Enterprise 専用)。

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

ユーザーの認証トークン。Steam からバイト配列として返され、文字列に変換されたもの (たとえば、バイト 0x08 は "08" になります)。

**`ticketIsServiceSpecific`**   bool const\*<br />*may be nullptr*

(オプション) チケットが ISteamUser::GetAuthTicketForWebAPI() を使用して、ID 文字列として "AzurePlayFab" を指定して生成された場合は true。ISteamUser::GetAuthSessionTicket() で生成された場合は false。

## 要件

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

## 関連項目

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


## Related topics

- [PFAuthenticationLoginWithSteamAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamasync.md)
- [PFAuthenticationReLoginWithSteamAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithsteamasync.md)
- [Services C API overview - PFAuthenticationTypes.h](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationLoginWithSteamIdRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithsteamidrequest.md)
- [PFAuthenticationServerLoginWithSteamIdAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidasync.md)
