Skip to content

Commit 783de45

Browse files
Revert "docs: add documentation to passport methods (#143)"
This reverts commit 039edd3.
1 parent 039edd3 commit 783de45

File tree

2 files changed

+13
-292
lines changed

2 files changed

+13
-292
lines changed

Source/Immutable/Public/Immutable/ImmutableDataTypes.h

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -38,47 +38,29 @@ struct FImmutableEngineVersionData
3838
FString deviceModel = FGenericPlatformMisc::GetDeviceMakeAndModel();
3939
};
4040

41-
/**
42-
* Structure to hold initialisation data for the Immutable Passport.
43-
*/
4441
USTRUCT()
4542
struct IMMUTABLE_API FImmutablePassportInitData
4643
{
4744
GENERATED_BODY()
4845

49-
/** The Client Id. */
5046
UPROPERTY()
5147
FString clientId;
5248

53-
/**
54-
* (Android, iOS, and macOS only)
55-
* The URL where the browser will redirect after successful authentication.
56-
*/
5749
UPROPERTY()
5850
FString redirectUri;
5951

60-
/** The URL where the browser will redirect after logout is complete. */
6152
UPROPERTY()
6253
FString logoutRedirectUri;
6354

64-
/** The environment to connect to. */
6555
UPROPERTY()
6656
FString environment = ImmutablePassportAction::EnvSandbox;
6757

68-
/** Whether silent logout is enabled. */
6958
UPROPERTY()
7059
bool isSilentLogout = false;
7160

72-
/** Information about engine version */
7361
UPROPERTY()
7462
FImmutableEngineVersionData engineVersion;
7563

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-
*/
8264
FString ToJsonString() const;
8365
};
8466

@@ -176,15 +158,12 @@ struct IMMUTABLE_API FImmutablePassportResult
176158
{
177159
GENERATED_BODY()
178160

179-
/** Whether the response was successful. */
180161
UPROPERTY()
181162
bool Success = false;
182-
183-
/** Error string for the response. */
163+
184164
UPROPERTY()
185165
FString Error;
186166

187-
/** Response payload. */
188167
FImtblJSResponse Response;
189168
};
190169

0 commit comments

Comments
 (0)