@@ -38,47 +38,29 @@ struct FImmutableEngineVersionData
38
38
FString deviceModel = FGenericPlatformMisc ::GetDeviceMakeAndModel ();
39
39
};
40
40
41
- /**
42
- * Structure to hold initialisation data for the Immutable Passport.
43
- */
44
41
USTRUCT ()
45
42
struct IMMUTABLE_API FImmutablePassportInitData
46
43
{
47
44
GENERATED_BODY ()
48
45
49
- /** The Client Id. */
50
46
UPROPERTY ()
51
47
FString clientId ;
52
48
53
- /**
54
- * (Android, iOS, and macOS only)
55
- * The URL where the browser will redirect after successful authentication.
56
- */
57
49
UPROPERTY ()
58
50
FString redirectUri ;
59
51
60
- /** The URL where the browser will redirect after logout is complete. */
61
52
UPROPERTY ()
62
53
FString logoutRedirectUri ;
63
54
64
- /** The environment to connect to. */
65
55
UPROPERTY ()
66
56
FString environment = ImmutablePassportAction ::EnvSandbox ;
67
57
68
- /** Whether silent logout is enabled. */
69
58
UPROPERTY ()
70
59
bool isSilentLogout = false;
71
60
72
- /** Information about engine version */
73
61
UPROPERTY ()
74
62
FImmutableEngineVersionData engineVersion ;
75
63
76
- /**
77
- * Converts the FImmutablePassportInitData structure to a JSON string representation.
78
- *
79
- * @return A JSON string representation of the FImmutablePassportInitData structure.
80
- * Returns an empty string if the conversion fails.
81
- */
82
64
FString ToJsonString () const ;
83
65
};
84
66
@@ -176,15 +158,12 @@ struct IMMUTABLE_API FImmutablePassportResult
176
158
{
177
159
GENERATED_BODY ()
178
160
179
- /** Whether the response was successful. */
180
161
UPROPERTY ()
181
162
bool Success = false;
182
-
183
- /** Error string for the response. */
163
+
184
164
UPROPERTY ()
185
165
FString Error ;
186
166
187
- /** Response payload. */
188
167
FImtblJSResponse Response ;
189
168
};
190
169
0 commit comments