Migration Guide

This acts as a reference guide for migrating from Active to Passive liveness in the Identity Verification (IDV) SDK.

Install the SDK

You will need to ensure the latest version of the Yoti backend SDK is installed.

Javascript
Java
PHP
Python
C#
Go
Copy

Session specification

Once you have added the Yoti SDK dependency to your project, you can use it to specify your IDV session with a liveness check as shown in the following code snippet(s).

Active liveness

Javascript
Java
PHP
Python
C#
Go
JSON
Copy

Passive liveness

Javascript
Java
PHP
Python
C#
Go
JSON
Copy

Session creation

Once you have built the session specification, you can send the request to creation a session.

Javascript
Java
PHP
Python
C#
Go
Copy

Retrieve session results

After a session has been created, you can use the Yoti SDK to retrieve the session result (containing results of the liveness check and associated resources).

Javascript
Java
PHP
Python
C#
Go
Copy

Liveness checks

The liveness checks include any attempts the user made to provide their liveness. It's possible that some of these attempts were rejected.

Javascript
Java
PHP
Python
C#
Go
Copy

Liveness resources

The liveness resources include any media resources that were captured when the user provided their liveness.

Javascript
Java
PHP
Python
C#
Go
Copy

Active liveness

Javascript
Java
PHP
Python
C#
Go
Copy

Passive liveness

Javascript
Java
PHP
Python
C#
Go
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard