Struct AuthenticationResponse
Reference the data structure for authentication service responses.
Read time 2 minutesLast updated 2 hours ago
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 | | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++
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 | | BlueprintReadOnly | Unity Gaming Services | Authentication |
C++
Name | Type | Default Value |
|---|
| int32 | |