Skip to content

Commit

Permalink
updated changes for failure details
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Jul 25, 2024
1 parent a0e9be3 commit aa38ac7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ function onErrorListener(...data) {
await Yoti.ready()
await onReadyToStart()
}</script>
<script src="https://www.public.stg1.dmz.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
<script src="https://www.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion examples/digitalidentity/resources/views/dbs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ function onErrorListener(...data) {
await Yoti.ready()
await onReadyToStart()
}</script>
<script src="https://www.public.stg1.dmz.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
<script src="https://www.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ function onErrorListener(...data) {
await Yoti.ready()
await onReadyToStart()
}</script>
<script src="https://www.public.stg1.dmz.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
<script src="https://www.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
</body>
</html>
9 changes: 3 additions & 6 deletions examples/doc-scan/app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand All @@ -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())
Expand Down Expand Up @@ -152,7 +151,6 @@ public function show(Request $request, DocScanClient $client)
->withBiometricConsentFlow('EARLY')
->build()
)
/*
->withRequiredDocument(
(new RequiredIdDocumentBuilder())
->withFilter(
Expand All @@ -173,7 +171,6 @@ public function show(Request $request, DocScanClient $client)
)
->build()
)
*/
->build();


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function show(YotiClient $client)
$scenario = (new DynamicScenarioBuilder())
->withPolicy($policy)
->withCallbackEndpoint('/profile')
//->withExtension($locationConstraint)
->withExtension($locationConstraint)
->build();

return view('share', [
Expand Down

0 comments on commit aa38ac7

Please sign in to comment.