PFAuthenticationLoginWithGameCenterRequest 데이터 모델. Game Center 플레이어 식별자(https://developer.apple.com/library/ios/documentation/Accounts/Reference/ACAccountClassRef/index.html# // apple_ref/occ/instp/ACAccount/identifier)는 로컬 장치에 저장되는, 생성된 문자열입니다. 장치 식별자와 마찬가지로, 사용자의 계정이 노출될 수 있으므로, 플레이어의 Game Center 식별자가 최종 사용자에게 노출되지 않도록 주의해야 합니다. 사용자가 Xbox Live 계정으로 처음 로그인하고 CreateAccount가 true로 설정된 경우 새 PlayFab 계정이 생성되어 Xbox Live 계정에 연결됩니다. 이 경우 이메일 또는 사용자 이름이 PlayFab 계정과 연결되지 않습니다. 그렇지 않으면 Game Center 계정에 연결된 PlayFab 계정이 없는 경우 이를 나타내는 오류가 반환되어 타이틀에서 사용자에게 PlayFab 계정 생성 과정을 안내할 수 있습니다. 잘못된 iOS Game Center 플레이어 식별자를 사용하면 이를 나타내는 오류가 반환됩니다.
구문
typedef struct PFAuthenticationLoginWithGameCenterRequest {
bool createAccount;
PFStringDictionaryEntry const* customTags;
uint32_t customTagsCount;
PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;
const char* playerId;
const char* playerSecret;
const char* publicKeyUrl;
const char* salt;
const char* signature;
const char* timestamp;
} PFAuthenticationLoginWithGameCenterRequest;
멤버
createAccount 부울
현재 이 ID에 연결되어 있지 않은 경우 PlayFab 계정을 자동으로 만듭니다.
customTags PFStringDictionaryEntry const*
nullptr일 수 있음
(선택 사항) 요청과 관련된 선택적 사용자 지정 태그입니다(예: 빌드 번호, 외부 추적 식별자 등).
customTagsCount uint32_t
customTags 수
infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr일 수 있음
(선택 사항) 사용자에 대해 반환할 정보 조각에 대한 플래그입니다.
playerId const char*
is null-terminated
(선택 사항) 고유한 Game Center 플레이어 ID입니다.
playerSecret const char*
is null-terminated
(선택 사항) API 요청 서명을 확인하는 데 사용하는 플레이어 암호입니다(엔터프라이즈 전용).
publicKeyUrl const char*
is null-terminated
(선택 사항) 서명을 확인하는 데 사용할 공용 암호화 키의 URL입니다.
salt const char*
is null-terminated
(선택 사항) 해시를 계산하고 임의로 유지하는 데 사용되는 임의 값입니다.
signature const char*
is null-terminated
(선택 사항) 인증 페이로드의 확인 서명입니다.
timestamp const char*
is null-terminated
(선택 사항) 서명을 만든 날짜 및 시간의 정수 표현입니다. PlayFab는 서버의 현재 시간에서 10분 이내에 인증 서명을 거부할 것입니다.
요구 사항
헤더: PFAuthenticationTypes.h