Struct AuthenticationResponse#
Mirrors an API response from the Unity Authentication Service.
Include#
#include "Models/AuthenticationResponse.h"
Syntax#
USTRUCT(BlueprintType)
struct AUTHENTICATION_API FAuthenticationResponse
Fields#
WasSuccessful#
Whether the response was a success.
Declaration#
bool bWasSuccessful = false
Blueprint#
| Name | Type | Default Value | Blueprint Property Type | Blueprint Property Category |
|---|
| Was Successful | Boolean | false | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
| Name | Type | Default Value |
|---|
bWasSuccessful | bool | false |
UserId#
The generated user Id.
Declaration#
Blueprint#
| Name | Type | Blueprint Property Type | Blueprint Property Category |
|---|
| User Id | String | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
AccessToken#
The generated authentication access token.
Declaration#
Blueprint#
| Name | Type | Blueprint Property Type | Blueprint Property Category |
|---|
| Access Token | String | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
SessionToken#
The generated authentication session token. This token can be used to sign in the user again.
Declaration#
Blueprint#
| Name | Type | Blueprint Property Type | Blueprint Property Category |
|---|
| Session Token | String | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
AuthorizedTime#
The time at which the response was sent.
Declaration#
Blueprint#
| Name | Type | Blueprint Property Type | Blueprint Property Category |
|---|
| Authorized Time | Date Time Structure | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
ExpiresIn#
The time at which the response was sent.
Declaration#
Blueprint#
| Name | Type | Default Value | Blueprint Property Type | Blueprint Property Category |
|---|
| Expires In | Integer | 0 | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++#
| Name | Type | Default Value |
|---|
ExpiresIn | int32 | 0 |