> ## 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.

# PFAuthenticationLoginWithPSNRequest

> PFAuthenticationLoginWithPSNRequest 데이터 모델. 사용자가 PlayStation :tm: Network 계정으로 처음 로그인하는 경우이고 CreateAccount가.

PFAuthenticationLoginWithPSNRequest 데이터 모델. 사용자가 PlayStation :tm: Network 계정으로 처음 로그인하는 경우이고 CreateAccount가 true로 설정된 경우, 새 PlayFab 계정이 생성되어 PlayStation :tm: Network 계정에 연결됩니다. 이 경우 이메일이나 사용자 이름은 PlayFab 계정과 연결되지 않습니다. 그렇지 않으면 해당 PlayStation :tm: Network 계정에 연결된 PlayFab 계정이 없는 경우 이를 나타내는 오류가 반환되어, 타이틀이 사용자가 PlayFab 계정을 만들도록 안내할 수 있게 됩니다.

## 구문

```cpp theme={null}
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\*<br />*is null-terminated*

PlayStation :tm: Network OAuth 공급자가 제공한 인증 코드입니다.

**`createAccount`**   bool

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

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

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

**`customTagsCount`**   uint32\_t

customTags의 개수입니다.

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

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

**`issuerId`**   int32\_t const\*<br />*may be nullptr*

(선택 사항) PlayStation :tm: Network 발급자 환경의 ID입니다. null인 경우 프로덕션 환경이 기본값으로 사용됩니다.

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

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

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

(선택 사항) 인증 코드 요청 시 PlayStation :tm: Network에 제공된 리디렉션 URI입니다.

## 요구 사항

**헤더:** PFAuthenticationTypes.h

## 참고 항목

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


## Related topics

- [PFAuthenticationLoginWithPSNAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsnasync.md)
- [PFAuthenticationReLoginWithPSNAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationreloginwithpsnasync.md)
- [PFAuthenticationLoginWithAppleRequest](/ko/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithapplerequest.md)
- [PFAuthenticationLoginWithCustomIDRequest](/ko/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithcustomidrequest.md)
- [PFAuthenticationLoginWithFacebookRequest](/ko/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithfacebookrequest.md)
