@@ -63,7 +63,11 @@ class SessionSpecification implements JsonSerializable
63
63
private $ blockBiometricConsent ;
64
64
65
65
/**
66
- * SessionSpecification constructor.
66
+ * @var IbvOptions|null
67
+ */
68
+ private $ ibvOptions ;
69
+
70
+ /**
67
71
* @param int|null $clientSessionTokenTtl
68
72
* @param string|null $sessionDeadline
69
73
* @param int|null $resourcesTtl
@@ -74,6 +78,7 @@ class SessionSpecification implements JsonSerializable
74
78
* @param SdkConfig|null $sdkConfig
75
79
* @param RequiredDocument[] $requiredDocuments
76
80
* @param bool|null $blockBiometricConsent
81
+ * @param IbvOptions|null $ibvOptions
77
82
*/
78
83
public function __construct (
79
84
?int $ clientSessionTokenTtl ,
@@ -85,7 +90,8 @@ public function __construct(
85
90
array $ requestedTasks ,
86
91
?SdkConfig $ sdkConfig ,
87
92
array $ requiredDocuments = [],
88
- ?bool $ blockBiometricConsent = null
93
+ ?bool $ blockBiometricConsent = null ,
94
+ ?IbvOptions $ ibvOptions = null
89
95
) {
90
96
$ this ->clientSessionTokenTtl = $ clientSessionTokenTtl ;
91
97
$ this ->sessionDeadline = $ sessionDeadline ;
@@ -97,6 +103,7 @@ public function __construct(
97
103
$ this ->sdkConfig = $ sdkConfig ;
98
104
$ this ->requiredDocuments = $ requiredDocuments ;
99
105
$ this ->blockBiometricConsent = $ blockBiometricConsent ;
106
+ $ this ->ibvOptions = $ ibvOptions ;
100
107
}
101
108
102
109
/**
@@ -115,6 +122,7 @@ public function jsonSerialize(): array
115
122
'sdk_config ' => $ this ->getSdkConfig (),
116
123
'required_documents ' => $ this ->getRequiredDocuments (),
117
124
'block_biometric_consent ' => $ this ->getBlockBiometricConsent (),
125
+ 'ibv_options ' => $ this ->getIbvOptions (),
118
126
]);
119
127
}
120
128
@@ -199,4 +207,15 @@ public function getBlockBiometricConsent(): ?bool
199
207
{
200
208
return $ this ->blockBiometricConsent ;
201
209
}
210
+
211
+ /**
212
+ * The options that define if a session will be required to be performed
213
+ * using In-Branch Verification
214
+ *
215
+ * @return IbvOptions|null
216
+ */
217
+ public function getIbvOptions (): ?IbvOptions
218
+ {
219
+ return $ this ->ibvOptions ;
220
+ }
202
221
}
0 commit comments