# 구조체 AuthenticationResponse

> Reference the data structure for authentication service responses.

[Unity Authentication 서비스의 API 응답](https://services.docs.unity.com/player-auth/v1/index.html#operation/ExternalTokenAuth)을 미러링합니다.

##### Include##include

```cpp
#include "Models/AuthenticationResponse.h"
```

##### 구문##syntax

```cpp
USTRUCT(BlueprintType)
struct AUTHENTICATION_API FAuthenticationResponse
```

## 필드##fields

### WasSuccessful##wassuccessful

응답이 성공적이었는지 여부입니다.

#### 선언##declaration

```cpp
bool bWasSuccessful = false
```

#### 블루프린트##blueprint

| **이름**         | **유형**                                                                                            | **기본값** | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :------------- | :------------------------------------------------------------------------------------------------ | :------ | :---------------- | :-------------------- | -------------- |
| Was Successful | [부울](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `false` | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**           | **유형** | **기본값** |
| :--------------- | :----- | :------ |
| `bWasSuccessful` | `bool` | `false` |

### UserId##userid

생성된 사용자 ID입니다.

#### 선언##declaration

```cpp
FString UserId
```

#### 블루프린트##blueprint

| **이름** | **유형**                                                                                             | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :----- | :------------------------------------------------------------------------------------------------- | :---------------- | :-------------------- | -------------- |
| 사용자 ID | [문자열](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**   | **유형**                                                                                  |
| :------- | :-------------------------------------------------------------------------------------- |
| `UserId` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### AccessToken##accesstoken

생성된 인증 액세스 토큰입니다.

#### 선언##declaration

```cpp
FString AccessToken
```

#### 블루프린트##blueprint

| **이름**       | **유형**                                                                                             | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :----------- | :------------------------------------------------------------------------------------------------- | :---------------- | :-------------------- | -------------- |
| Access Token | [문자열](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**        | **유형**                                                                                  |
| :------------ | :-------------------------------------------------------------------------------------- |
| `AccessToken` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### SessionToken##sessiontoken

생성된 인증 세션 토큰입니다. 이 토큰은 사용자를 다시 로그인하는 데 사용할 수 있습니다.

#### 선언##declaration

```cpp
FString SessionToken
```

#### 블루프린트##blueprint

| **이름**        | **유형**                                                                                             | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :------------ | :------------------------------------------------------------------------------------------------- | :---------------- | :-------------------- | -------------- |
| Session Token | [문자열](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**         | **유형**                                                                                  |
| :------------- | :-------------------------------------------------------------------------------------- |
| `SessionToken` | [FString](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Containers/FString/) |

### AuthorizedTime##authorizedtime

응답이 전송된 시간입니다.

#### 선언##declaration

```cpp
FDateTime AuthorizedTime
```

#### 블루프린트##blueprint

| **이름**          | **유형**                                                                                                   | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :-------------- | :------------------------------------------------------------------------------------------------------- | :---------------- | :-------------------- | -------------- |
| Authorized Time | [날짜 시간 구조체](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**           | **유형**                                                                                |
| :--------------- | :------------------------------------------------------------------------------------ |
| `AuthorizedTime` | [FDateTime](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/Misc/FDateTime/) |

### ExpiresIn##expiresin

응답이 전송된 시간입니다.

#### 선언##declaration

```cpp
int32 ExpiresIn = 0
```

#### 블루프린트##blueprint

| **이름**     | **유형**                                                                                            | **기본값** | **블루프린트 프로퍼티 유형** | **블루프린트 프로퍼티 카테고리**   |                |
| :--------- | :------------------------------------------------------------------------------------------------ | :------ | :---------------- | :-------------------- | -------------- |
| Expires In | [정수](https://docs.unrealengine.com/5.3/en-US/blueprint-variables-in-unreal-engine/#variabletypes) | `0`     | BlueprintReadOnly | Unity Gaming Services | Authentication |

#### C++##c++

| **이름**      | **유형**                                                                                                         | **기본값** |
| :---------- | :------------------------------------------------------------------------------------------------------------- | :------ |
| `ExpiresIn` | [int32](https://docs.unrealengine.com/5.3/en-US/API/Runtime/Core/GenericPlatform/FGenericPlatformTypes/int32/) | `0`     |
