다음을 통해 공유


PFAuthenticationLoginWithAppleRequest

PFAuthenticationLoginWithAppleRequest 데이터 모델.

구문

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

멤버

createAccount 부울

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

customTags PFStringDictionaryEntry const*
nullptr일 수 있음

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

customTagsCount uint32_t

customTags 수

identityToken const char*
is null-terminated

로그인 후 Apple에서 반환한 JWT(JSON 웹 토큰)입니다. 권한 부여 자격 증명 페이로드의 identityToken 필드로 표시됩니다. ID 토큰의 만료 날짜를 무시하도록 선택하면 Apple에서 서명 키를 회전하는 경우 NotAuthorized 오류가 발생합니다. 이 경우 사용자는 새 ID 토큰을 제공하기 위해 로그인해야 합니다.

infoRequestParameters PFGetPlayerCombinedInfoRequestParams const*
nullptr일 수 있음

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

playerSecret const char*
is null-terminated

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

요구 사항

헤더: PFAuthenticationTypes.h

참고 항목

PFAuthenticationTypes 멤버