VerIDAuthenticationSessionSettings

Authentication session settings

Package com.appliedrec.ver_id.session

public class VerIDAuthenticationSessionSettings

Constructors

VerIDAuthenticationSessionSettings

Introduced in version 1.8

public VerIDAuthenticationSessionSettings(String)

Settings constructor with liveness detection set to REGULAR

Parameters

userId java.lang.String
The user to authenticate in the session

VerIDAuthenticationSessionSettings

Introduced in version 1.8

public VerIDAuthenticationSessionSettings(String, VerID.LivenessDetection)

Settings constructor

Parameters

userId java.lang.String
The user to authenticate in the session
livenessDetection com.appliedrec.ver_id.VerID.LivenessDetection
The liveness detection level to use in the session

VerIDAuthenticationSessionSettings

Introduced in version 1.8

public VerIDAuthenticationSessionSettings()

VerIDAuthenticationSessionSettings

Introduced in version 1.8

public VerIDAuthenticationSessionSettings(JSONObject)

Parameters

jsonObject org.json.JSONObject

Throws

org.json.JSONException

Methods

setLivenessDetection

Introduced in version 1.8

public setLivenessDetection(VerID.LivenessDetection)

Parameters

livenessDetection com.appliedrec.ver_id.VerID.LivenessDetection

getLivenessDetection

Introduced in version 1.8

public getLivenessDetection()

Returns

com.appliedrec.ver_id.VerID.LivenessDetection

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 authenticate in this session