다음을 통해 공유


PFAuthenticationLoginWithCustomIDRequest

PFAuthenticationLoginWithCustomIDRequest 데이터 모델입니다. 개발자는 한 고객이 다른 고객이 이미 사용 중인 ID를 생성할 가능성이 매우 낮음을 확인하는 것이 좋습니다. 사용자가 사용자 지정 ID로 처음 로그인하고 CreateAccount가 true로 설정된 경우 새 PlayFab 계정이 만들어지고 사용자 지정 ID에 연결됩니다. 이 경우 이메일 또는 사용자 이름이 PlayFab 계정과 연결되지 않습니다. 그렇지 않고 PlayFab 계정이 사용자 지정 ID에 연결되어 있지 않으면 이를 나타내는 오류가 반환되어 타이틀이 PlayFab 계정 생성을 통해 사용자를 안내할 수 있습니다.

구문

typedef struct PFAuthenticationLoginWithCustomIDRequest {  
    bool createAccount;  
    const char* customId;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* playerSecret;  
} PFAuthenticationLoginWithCustomIDRequest;  

멤버

createAccount 부울

현재 이 ID에 연결되어 있지 않은 경우 PlayFab 계정을 자동으로 만듭니다.

customId const char*
is null-terminated

타이틀에서 생성된 사용자에 대한 사용자 지정 고유 식별자입니다.

customTags PFStringDictionaryEntry const*
nullptr일 수 있음

(선택 사항) 요청과 관련된 선택적 사용자 지정 태그입니다(예: 빌드 번호, 외부 추적 식별자 등).

customTagsCount uint32_t

customTags 수

infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr일 수 있음

(선택 사항) 사용자에 대해 반환할 정보 조각에 대한 플래그입니다.

playerSecret const char*
is null-terminated

(선택 사항) API 요청 서명을 확인하는 데 사용하는 플레이어 암호입니다(엔터프라이즈 전용).

요구 사항

헤더: PFAuthenticationTypes.h

참고 항목

PFAuthenticationTypes 멤버