VerIDRegistrationSessionSettings

Registration session settings

Package com.appliedrec.ver_id.session

public class VerIDRegistrationSessionSettings

Constructors

VerIDRegistrationSessionSettings

Introduced in version 1.8

public VerIDRegistrationSessionSettings()

Settings constructor with userId set to null and liveness detection set to REGULAR

VerIDRegistrationSessionSettings

Introduced in version 1.8

public VerIDRegistrationSessionSettings(String)

Settings constructor with liveness detection set to REGULAR

Parameters

userId java.lang.String
The ID of the user to register in the session

VerIDRegistrationSessionSettings

Introduced in version 1.8

public VerIDRegistrationSessionSettings(VerID.LivenessDetection)

Settings constructor with userId set to null

Parameters

livenessDetection com.appliedrec.ver_id.VerID.LivenessDetection
The level of liveness detection that will be available in authentication sessions run after this registration

VerIDRegistrationSessionSettings

Introduced in version 1.8

public VerIDRegistrationSessionSettings(String, VerID.LivenessDetection)

Settings constructor

Parameters

userId java.lang.String
The ID of the user to register in the session
livenessDetection com.appliedrec.ver_id.VerID.LivenessDetection
The level of liveness detection that will be available in authentication sessions run after this registration

VerIDRegistrationSessionSettings

Introduced in version 1.8

public VerIDRegistrationSessionSettings(JSONObject)

Parameters

jsonObject org.json.JSONObject

Methods

setLivenessDetection

Introduced in version 1.8

public setLivenessDetection(VerID.LivenessDetection)

Set the level of liveness detection that will be available in authentication sessions run after this registration.

Parameters

livenessDetection com.appliedrec.ver_id.VerID.LivenessDetection

getLivenessDetection

Introduced in version 1.8

public getLivenessDetection()

Returns

com.appliedrec.ver_id.VerID.LivenessDetection
The level of liveness detection that will be available in authentication sessions run after this registration.

toJSON

Introduced in version 1.8

public toJSON()

Returns

org.json.JSONObject

Throws

org.json.JSONException

Properties

userId

Introduced in version 1.8

public String userId

The ID of the user to register in this session.

bearingsToRegister

Introduced in version 1.8

public VerID.Bearing[] bearingsToRegister

The bearings to register in this session. In sessions with liveness detection set to STRICT the default is new VerID.Bearing[]{VerID.Bearing.STRAIGHT, VerID.Bearing.LEFT, VerID.Bearing.RIGHT, VerID.Bearing.UP}. In other sessions it's new VerID.Bearing[]{VerID.Bearing.STRAIGHT}.

appendIfUserExists

Introduced in version 1.8

public boolean appendIfUserExists

Set to false to delete the user with the given userId