-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Adds app verification fields in FC manifest and synchronize call #4452
base: master
Are you sure you want to change the base?
Adds app verification fields in FC manifest and synchronize call #4452
Conversation
🚨 New dead code detected in this PR: FinancialConnectionsSessionManifest.swift:130 warning: Initializer 'init(accountholderCustomerEmailAddress:accountholderIsLinkConsumer:accountholderPhoneNumber:accountholderToken:accountDisconnectionMethod:activeAuthSession:activeInstitution:allowManualEntry:appVerificationEnabled:assignmentEventId:businessName:cancelUrl:consentRequired:customManualEntryHandling:disableLinkMoreAccounts:displayText:experimentAssignments:features:hostedAuthUrl:initialInstitution:instantVerificationDisabled:institutionSearchDisabled:isEndUserFacing:isLinkWithStripe:isNetworkingUserFlow:isStripeDirect:livemode:manualEntryMode:manualEntryUsesMicrodeposits:nextPane:paymentMethodType:permissions:product:singleAccount:skipSuccessPane:stepUpAuthenticationRequired:successUrl:_theme:)' is unused Please remove the dead code before merging. If this is intentional, you can bypass this check by adding the label ℹ️ If this comment appears to be left in error, double check that the flagged code is actually used and/or make sure your branch is up-to-date with |
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.
beautiful
@@ -80,6 +80,7 @@ struct FinancialConnectionsSessionManifest: Decodable { | |||
let activeAuthSession: FinancialConnectionsAuthSession? | |||
let activeInstitution: FinancialConnectionsInstitution? | |||
let allowManualEntry: Bool | |||
let appVerificationEnabled: Bool? |
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.
Made this to never be null backend side, but let's keep it optional to keep API flexibility
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.
Sounds good! I was matching the backend model.
let attest = backingAPIClient.stripeAttest | ||
if attest.isSupported { |
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.
pretty simple! 👏
Summary
appVerificationEnabled
field to the Financial Connections manifest model.mobile[supports_app_verification]
andmobile[verified_app_id]
parameters to the/synchronize
endpoint if app attestation is supported.Motivation
https://docs.google.com/document/d/1joKz5UZHLVazmecfMHbq6gB6n4wj5u8To6AtqYgq_tc/edit?usp=sharing
Testing
Manual testing
Changelog
N/a