> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAuthenticationLoginWithGameCenterRequest

> PFAuthenticationLoginWithGameCenterRequest 데이터 모델. Game Center 플레이어 식별자입니다.

PFAuthenticationLoginWithGameCenterRequest 데이터 모델. Game Center 플레이어 식별자([https://developer.apple.com/library/ios/documentation/Accounts/Reference/ACAccountClassRef/index.html#](https://developer.apple.com/library/ios/documentation/Accounts/Reference/ACAccountClassRef/index.html#) // apple\_ref/occ/instp/ACAccount/identifier)는 로컬 디바이스에 저장되는 생성된 문자열입니다. 디바이스 식별자와 마찬가지로 플레이어의 Game Center 식별자를 최종 사용자에게 노출하지 않도록 각별히 주의해야 하며, 그렇지 않으면 사용자의 계정이 침해될 수 있습니다. 사용자가 Game Center로 처음 로그인하는 경우이고 CreateAccount가 true로 설정된 경우, 새 PlayFab 계정이 생성되어 Game Center 식별자에 연결됩니다. 이 경우 이메일이나 사용자 이름은 PlayFab 계정과 연결되지 않습니다. 그렇지 않으면 해당 Game Center 계정에 연결된 PlayFab 계정이 없는 경우 이를 나타내는 오류가 반환되어, 타이틀이 사용자가 PlayFab 계정을 만들도록 안내할 수 있게 됩니다. 잘못된 iOS Game Center 플레이어 식별자를 사용한 경우 이를 나타내는 오류가 반환됩니다.

## 구문

```cpp theme={null}
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`**   bool

현재 이 ID에 연결된 계정이 없는 경우 자동으로 PlayFab 계정을 생성합니다.

**`customTags`**   PFStringDictionaryEntry const\*<br />*may be nullptr*

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

**`customTagsCount`**   uint32\_t

customTags의 개수입니다.

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*<br />*may be nullptr*

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

**`playerId`**   const char\*<br />*is null-terminated*

(선택 사항) 고유한 Game Center 플레이어 ID입니다.

**`playerSecret`**   const char\*<br />*is null-terminated*

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

**`publicKeyUrl`**   const char\*<br />*is null-terminated*

(선택 사항) 서명을 확인하는 데 사용할 공개 암호화 키의 URL입니다.

**`salt`**   const char\*<br />*is null-terminated*

(선택 사항) 해시를 계산하고 무작위로 유지하는 데 사용되는 임의 값입니다.

**`signature`**   const char\*<br />*is null-terminated*

(선택 사항) 인증 페이로드의 확인 서명입니다.

**`timestamp`**   const char\*<br />*is null-terminated*

(선택 사항) 서명이 생성된 날짜와 시간의 정수 표현입니다. PlayFab은 서버의 현재 시간에서 10분 이내가 아닌 인증 서명을 거부합니다.

## 요구 사항

**헤더:** PFAuthenticationTypes.h

## 참고 항목

[PFAuthenticationTypes 멤버](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationLoginWithGameCenterAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgamecenterasync.md)
- [PFAuthenticationReLoginWithGameCenterAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithgamecenterasync.md)
- [Services C API 개요 - PFAuthenticationTypes.h](/ko/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationLoginWithGameCenterGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgamecentergetresult.md)
- [PFAuthenticationLoginWithGameCenterGetResultSize](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgamecentergetresultsize.md)
