Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuthenticationSessionSettings

Settings for authentication sessions

Hierarchy

Index

Constructors

constructor

Properties

bearings

bearings: Bearing[] = LivenessDetectionSessionSettings.DEFAULT_BEARINGS

The bearings the session will draw from when asking for a random pose

expiryTime

expiryTime: number = 30

Time it will take for the session to expire (in seconds)

numberOfResultsToCollect

numberOfResultsToCollect: number = 2

The number of detected faces and images the session must collect before finishing

showResult

showResult: boolean = false

Set to true to display the result of the session to the user

userId

userId: string

ID of the user to authenticate

Static DEFAULT_BEARINGS

DEFAULT_BEARINGS: Bearing[] = [Bearing.STRAIGHT, Bearing.LEFT, Bearing.LEFT_UP, Bearing.RIGHT_UP, Bearing.RIGHT]

Default pool of bearings the session will draw from when asking for a random pose

Generated using TypeDoc