File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
examples/doc-scan/app/Http/Controllers Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 18
18
use Yoti \DocScan \Session \Create \Check \RequestedWatchlistAdvancedCaCheckBuilder ;
19
19
use Yoti \DocScan \Session \Create \Check \RequestedWatchlistScreeningCheckBuilder ;
20
20
use Yoti \DocScan \Session \Create \Check \RequestedWatchlistScreeningConfigBuilder ;
21
+ use Yoti \DocScan \Session \Create \Check \RequestedYotiAccountWatchlistAdvancedCaConfigBuilder ;
21
22
use Yoti \DocScan \Session \Create \Filters \Orthogonal \OrthogonalRestrictionsFilterBuilder ;
22
23
use Yoti \DocScan \Session \Create \Filters \RequiredIdDocumentBuilder ;
23
24
use Yoti \DocScan \Session \Create \Filters \RequiredSupplementaryDocumentBuilder ;
@@ -56,6 +57,7 @@ public function show(Request $request, DocScanClient $client)
56
57
$ exactMatchingStrategy = (new RequestedExactMatchingStrategyBuilder ())
57
58
->build ();
58
59
60
+ //CustomAccountConfig
59
61
$ customConfig = (new RequestedCustomAccountWatchlistAdvancedCaConfigBuilder ())
60
62
->withMatchingStrategy ($ exactMatchingStrategy )
61
63
->withSources ($ searchProfileSources )
@@ -67,6 +69,14 @@ public function show(Request $request, DocScanClient $client)
67
69
->withTags (['tag1 ' ])
68
70
->build ();
69
71
72
+ //YotiAccountConfig
73
+ $ yotiConfig = (new RequestedYotiAccountWatchlistAdvancedCaConfigBuilder ())
74
+ ->withMatchingStrategy ($ exactMatchingStrategy )
75
+ ->withSources ($ typeListSources )
76
+ ->withShareUrl (false )
77
+ ->withRemoveDeceased (true )
78
+ ->build ();
79
+
70
80
71
81
$ sessionSpec = (new SessionSpecificationBuilder ())
72
82
->withClientSessionTokenTtl (600 )
You can’t perform that action at this time.
0 commit comments