-
Notifications
You must be signed in to change notification settings - Fork 997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add attestation event logging to FC API clients #4481
Conversation
d8d06bc
to
2193645
Compare
...ons/StripeFinancialConnections/Source/API Bindings/FinancialConnectionsAPIClientLogger.swift
Outdated
Show resolved
Hide resolved
} | ||
} | ||
|
||
var parameters: [String: Any] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carlosmuvi-stripe let me know which other parameters we should include for each event
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should be good with these + the default parameters sent on all requests
ac88f3b
to
dba58e6
Compare
2193645
to
187a2b2
Compare
@@ -174,6 +174,7 @@ extension FinancialConnectionsAnalyticsClient { | |||
additionalParameters["single_account"] = manifest.singleAccount | |||
additionalParameters["allow_manual_entry"] = manifest.allowManualEntry | |||
additionalParameters["account_holder_id"] = manifest.accountholderToken | |||
additionalParameters["app_verification_enabled"] = manifest.appVerificationEnabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Includes manifest.appVerificationEnabled
as a common field, passed along to most logs we emit.
45040b1
to
89bc90c
Compare
6a46135
to
27b77d0
Compare
27b77d0
to
4801101
Compare
4801101
to
5f5d685
Compare
Summary
Adds logging for various attestation-related events in our Financial Connections API clients (both legacy and async clients). Most of the event logging logic has been consolidated in
FinancialConnectionsAPIClientLogger
. As part of this, I also had to make a few secondary changes to the API clients;/synchronize
call.pane
andapi
through the consumer session lookup and sign up APIs for logging purposes.Motivation
https://docs.google.com/document/d/1joKz5UZHLVazmecfMHbq6gB6n4wj5u8To6AtqYgq_tc/edit?tab=t.0#bookmark=kix.oi6g969wwrz0
Testing
N/a
Changelog
N/a