PFAuthenticationLoginWithPSNRequest データ モデル。 ユーザーが PlayStation ™️ Network アカウントを使用して初めてサインインし、CreateAccount が True に設定されている場合、新しい PlayFab アカウントが作成され、PlayStation ™️ Network アカウントにリンクされます。 この場合、メールアドレスとユーザー名は PlayFab アカウントに関連付けられません。 それ以外の場合で、PlayFab アカウントが PlayStation ™️ Network アカウントにリンクされていない場合は、これを示すエラーが返され、タイトルがユーザーに対して PlayFab アカウントの作成をガイドできるようになります。
構文
typedef struct PFAuthenticationLoginWithPSNRequest {
const char* authCode;
bool createAccount;
PFStringDictionaryEntry const* customTags;
uint32_t customTagsCount;
PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;
int32_t const* issuerId;
const char* playerSecret;
const char* redirectUri;
} PFAuthenticationLoginWithPSNRequest;
メンバー
authCode const char*
が null で終わる
PlayStation ™️ Network OAuth プロバイダーによって提供される認証コード。
createAccount bool
現在この ID にリンクされている PlayFab アカウントがない場合は、PlayFab アカウントを自動的に作成します。
customTags PFStringDictionaryEntry const*
nullptr でもかまいません
(省略可能) 要求に関連付けられているオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。
customTagsCount uint32_t
customTags の数
infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr でもかまいません
(省略可能) ユーザーに返される情報の一部を示すフラグ。
issuerId int32_t const*
nullptr でもかまいません
(省略可能) PlayStation ™️ Network 発行者環境の ID。 null の場合、既定では運用環境が使用されます。
playerSecret const char*
が null で終わる
(省略可能) API 要求の署名を確認するために使用されるプレイヤー シークレット (エンタープライズのみ)。
redirectUri const char*
が null で終わる
(省略可能) 認証コードを要求するときに PlayStation ™️ Network に提供されるリダイレクト URI。
要件
ヘッダー: PFAuthenticationTypes.h