-
Notifications
You must be signed in to change notification settings - Fork 166
LG-16257 Add email to socure ID plus requests #12222
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ class ProgressiveProofer | |
| class InvalidProofingVendorError; end | ||
|
|
||
| attr_reader :user_uuid, | ||
| :user_email, | ||
| :aamva_plugin, | ||
| :threatmetrix_plugin, | ||
| :phone_finder_plugin, | ||
|
|
@@ -22,8 +23,9 @@ class InvalidProofingVendorError; end | |
| socure_kyc: :socure_resolution, | ||
| }.freeze | ||
|
|
||
| def initialize(user_uuid:, proofing_vendor:) | ||
| def initialize(user_uuid:, proofing_vendor:, user_email:) | ||
| @user_uuid = user_uuid | ||
| @user_email = user_email | ||
| @aamva_plugin = Plugins::AamvaPlugin.new | ||
| @threatmetrix_plugin = Plugins::ThreatMetrixPlugin.new | ||
| @phone_finder_plugin = Plugins::PhoneFinderPlugin.new | ||
|
|
@@ -36,7 +38,6 @@ def initialize(user_uuid:, proofing_vendor:) | |
| # @param [String] request_ip IP address for request | ||
| # @param [String] threatmetrix_session_id identifies the threatmetrix session | ||
| # @param [JobHelpers::Timer] timer indicates time elapsed to obtain results | ||
| # @param [String] user_email email address for applicant | ||
| # @param [String] user_uuid user uuid for applicant | ||
| # @param [String] workflow user is in idv or auth workflow | ||
| # @return [ResultAdjudicator] object which contains the logic to determine proofing's result | ||
|
|
@@ -45,7 +46,6 @@ def proof( | |
| request_ip:, | ||
| threatmetrix_session_id:, | ||
| timer:, | ||
| user_email:, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. doesn't seem like we should be removing this nor the comment above .. it's used in this method ... 🤔
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The reason why user_email exists in the |
||
| ipp_enrollment_in_progress:, | ||
| current_sp:, | ||
| workflow: | ||
|
|
@@ -154,6 +154,7 @@ def create_socure_proofer | |
| Proofing::Socure::IdPlus::Proofer.new( | ||
| Proofing::Socure::IdPlus::Config.new( | ||
| user_uuid:, | ||
| user_email:, | ||
| api_key: IdentityConfig.store.socure_idplus_api_key, | ||
| base_url: IdentityConfig.store.socure_idplus_base_url, | ||
| timeout: IdentityConfig.store.socure_idplus_timeout_in_seconds, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.