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
NameTypeDefault ValueBlueprint Property TypeBlueprint Property Category
Was SuccessfulBooleanfalseBlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameTypeDefault Value
bWasSuccessfulboolfalse

UserId

The generated user Id.

Declaration
FString UserId
Blueprint
NameTypeBlueprint Property TypeBlueprint Property Category
User IdStringBlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameType
UserIdFString

AccessToken

The generated authentication access token.

Declaration
FString AccessToken
Blueprint
NameTypeBlueprint Property TypeBlueprint Property Category
Access TokenStringBlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameType
AccessTokenFString

SessionToken

The generated authentication session token. This token can be used to sign in the user again.

Declaration
FString SessionToken
Blueprint
NameTypeBlueprint Property TypeBlueprint Property Category
Session TokenStringBlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameType
SessionTokenFString

AuthorizedTime

The time at which the response was sent.

Declaration
FDateTime AuthorizedTime
Blueprint
NameTypeBlueprint Property TypeBlueprint Property Category
Authorized TimeDate Time StructureBlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameType
AuthorizedTimeFDateTime

ExpiresIn

The time at which the response was sent.

Declaration
int32 ExpiresIn = 0
Blueprint
NameTypeDefault ValueBlueprint Property TypeBlueprint Property Category
Expires InInteger0BlueprintReadOnlyUnity Gaming Services | Authentication
C++
NameTypeDefault Value
ExpiresInint320