PFAuthenticationLoginWithPSNRequest 데이터 모델입니다. 사용자가 PlayStation ™️ 네트워크 계정으로 처음으로 로그인하고 CreateAccount가 true로 설정된 경우 새 PlayFab 계정이 만들어지고 PlayStation ™️ 네트워크 계정에 연결됩니다. 이 경우 이메일 또는 사용자 이름이 PlayFab 계정과 연결되지 않습니다. 그렇지 않고 PlayFab 계정이 PlayStation ™️ 네트워크 계정에 연결되어 있지 않으면 타이틀이 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*
is null-terminated
PlayStation ™️ 네트워크 OAuth 공급자가 제공하는 인증 코드입니다.
createAccount부울
현재 이 ID에 연결되어 있지 않은 경우 PlayFab 계정을 자동으로 만듭니다.
customTags PFStringDictionaryEntry const*
nullptr일 수 있음
(선택 사항) 요청과 관련된 선택적 사용자 지정 태그입니다(예: 빌드 번호, 외부 추적 식별자 등).
customTagsCount uint32_t
customTags 수
infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr일 수 있음
(선택 사항) 사용자에 대해 반환할 정보 조각에 대한 플래그입니다.
issuerId int32_t const*
nullptr일 수 있음
(선택 사항) PlayStation ™️ 네트워크 발급자 환경의 ID입니다. null인 경우 기본값은 프로덕션 환경입니다.
playerSecret const char*
is null-terminated
(선택 사항) API 요청 서명을 확인하는 데 사용하는 플레이어 암호입니다(엔터프라이즈 전용).
redirectUri const char*
is null-terminated
(선택 사항) 인증 코드를 요청할 때 PlayStation ™️ Network에 제공된 URI를 리디렉션합니다.
요구 사항
헤더: PFAuthenticationTypes.h