Skip to content

Commit 6c470b8

Browse files
SP-21312 - add livenessChecks
1 parent 8ecb5e4 commit 6c470b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ext/authenticity/authenticity.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ export class Authenticity implements AuthenticityCheckList {
8282
return this.securityFeatureOrUndefined(AuthenticityResultType.EXTENDED_MRZ_CHECK);
8383
}
8484

85+
public livenessChecks(): IdentChecks | undefined {
86+
return this.identOrUndefined(AuthenticityResultType.LIVENESS);
87+
}
88+
8589
public resultByType(authenticityType: number): AuthenticityCheckResult | undefined {
8690
for (const result of this.List) {
8791
if (result.Type == authenticityType) {

0 commit comments

Comments
 (0)