Skip to content

Commit e4375fc

Browse files
chore: add ImPassportTraceId support (#3995)
1 parent 9616823 commit e4375fc

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
@@ -60,6 +60,9 @@ struct IMMUTABLE_API FImmutableDirectLoginOptions
6060
/** Marketing consent status for authentication (defaults to opted in) */
6161
UPROPERTY(EditAnywhere, BlueprintReadWrite)
6262
EImmutableMarketingConsentStatus MarketingConsentStatus = EImmutableMarketingConsentStatus::Opted_In;
63+
64+
UPROPERTY(EditAnywhere, BlueprintReadWrite)
65+
FString ImPassportTraceId;
6366
};
6467

6568
UCLASS()

0 commit comments

Comments
 (0)