Skip to content

Commit 949a0a4

Browse files
chore: add ImPassportTraceId support (#3995)
1 parent f59141b commit 949a0a4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Source/Immutable/Private/Immutable/ImmutablePassport.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ void UImmutablePassport::Connect(bool IsConnectImx, const FImtblPassportResponse
117117
RequestObject->SetObjectField(TEXT("directLoginOptions"), DirectLoginOptionsObject);
118118
}
119119

120+
RequestObject->SetStringField(TEXT("imPassportTraceId"), DirectLoginOptions.ImPassportTraceId);
121+
120122
// Convert to JSON string
121123
FString PKCERequestJson;
122124
TSharedRef<TJsonWriter<>> Writer = TJsonWriterFactory<>::Create(&PKCERequestJson);

Source/Immutable/Public/Immutable/ImmutableDataTypes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ struct IMMUTABLE_API FImmutableDirectLoginOptions
6565
/** Marketing consent status for authentication (defaults to opted in) */
6666
UPROPERTY(EditAnywhere, BlueprintReadWrite)
6767
EImmutableMarketingConsentStatus MarketingConsentStatus = EImmutableMarketingConsentStatus::Opted_In;
68+
69+
UPROPERTY(EditAnywhere, BlueprintReadWrite)
70+
FString ImPassportTraceId;
6871
};
6972

7073
UCLASS()

0 commit comments

Comments
 (0)