From aa38ac7ef6ce6f6b869b3e8448b289325f345e64 Mon Sep 17 00:00:00 2001 From: mehmet-yoti Date: Thu, 25 Jul 2024 16:23:11 +0100 Subject: [PATCH] updated changes for failure details --- .../resources/views/advancedidentity.blade.php | 2 +- examples/digitalidentity/resources/views/dbs.blade.php | 2 +- .../digitalidentity/resources/views/identity.blade.php | 2 +- .../doc-scan/app/Http/Controllers/HomeController.php | 9 +++------ .../app/Http/Controllers/DynamicShareController.php | 2 +- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/examples/digitalidentity/resources/views/advancedidentity.blade.php b/examples/digitalidentity/resources/views/advancedidentity.blade.php index fbe60828..289e9e1e 100644 --- a/examples/digitalidentity/resources/views/advancedidentity.blade.php +++ b/examples/digitalidentity/resources/views/advancedidentity.blade.php @@ -84,6 +84,6 @@ function onErrorListener(...data) { await Yoti.ready() await onReadyToStart() } - + diff --git a/examples/digitalidentity/resources/views/dbs.blade.php b/examples/digitalidentity/resources/views/dbs.blade.php index 0f525dd3..1359cc7c 100644 --- a/examples/digitalidentity/resources/views/dbs.blade.php +++ b/examples/digitalidentity/resources/views/dbs.blade.php @@ -84,6 +84,6 @@ function onErrorListener(...data) { await Yoti.ready() await onReadyToStart() } - + diff --git a/examples/digitalidentity/resources/views/identity.blade.php b/examples/digitalidentity/resources/views/identity.blade.php index c09c2c47..de3cd057 100644 --- a/examples/digitalidentity/resources/views/identity.blade.php +++ b/examples/digitalidentity/resources/views/identity.blade.php @@ -84,6 +84,6 @@ function onErrorListener(...data) { await Yoti.ready() await onReadyToStart() } - + diff --git a/examples/doc-scan/app/Http/Controllers/HomeController.php b/examples/doc-scan/app/Http/Controllers/HomeController.php index 6c2943fa..9dc94f67 100644 --- a/examples/doc-scan/app/Http/Controllers/HomeController.php +++ b/examples/doc-scan/app/Http/Controllers/HomeController.php @@ -77,8 +77,7 @@ public function show(Request $request, DocScanClient $client) ->withRemoveDeceased(true) ->build(); - - //Identity Profile Requeirements + //Identity Profile Requeirements Object /*$identityProfileRequirements = (object)[ 'trust_framework' => 'UK_TFIDA', 'scheme' => [ @@ -91,8 +90,8 @@ public function show(Request $request, DocScanClient $client) ->withClientSessionTokenTtl(600) ->withResourcesTtl(90000) ->withUserTrackingId('some-user-tracking-id') - ->withBlockBiometricConsent(false) //User needs to provide consent for the liveness detection - //For Identity Profile Requirements + //For Identity Profile Requirements Object + //->withBlockBiometricConsent(false) //User needs to provide consent for the liveness detection //->withIdentityProfileRequirements($identityProfileRequirements) ->withRequestedCheck( (new RequestedDocumentAuthenticityCheckBuilder()) @@ -152,7 +151,6 @@ public function show(Request $request, DocScanClient $client) ->withBiometricConsentFlow('EARLY') ->build() ) - /* ->withRequiredDocument( (new RequiredIdDocumentBuilder()) ->withFilter( @@ -173,7 +171,6 @@ public function show(Request $request, DocScanClient $client) ) ->build() ) - */ ->build(); diff --git a/examples/profile/app/Http/Controllers/DynamicShareController.php b/examples/profile/app/Http/Controllers/DynamicShareController.php index f9ec13bd..f5db2c97 100644 --- a/examples/profile/app/Http/Controllers/DynamicShareController.php +++ b/examples/profile/app/Http/Controllers/DynamicShareController.php @@ -29,7 +29,7 @@ public function show(YotiClient $client) $scenario = (new DynamicScenarioBuilder()) ->withPolicy($policy) ->withCallbackEndpoint('/profile') - //->withExtension($locationConstraint) + ->withExtension($locationConstraint) ->build(); return view('share', [