Keylessclass controls the device’s camera during enrollment and authentication, to capture the user’s face, image processing, to extract biometric features from the user’s face, for all interactions with the Keyless network to authenticate the user and to store and retrieve authentication tokens.
Keyless.configure(...), the caller uses the
delegateparameter, which is an instance of
KeylessDelegateProtocol. This delegate will receive callbacks on the enrollment progress/completion/failure. The class configuration also requires the API key, which is provided by Keyless. Finally, the class can be optionally configured to enable active liveness detection during enrollment and authentication using the
numberOfLivenessChallengesparameter of the
Keyless.configure(...)function (passive liveness detection is enabled by default). After configuration, the caller can interact with the
Keylessclass through its shared instance
KeylessStatus.enrolled(...). The main entry points for the Keyless mobile API are:
Keyless.enroll(...), which captures the user’s face and establishes a unique user identifier (Keyless ID).
Keyless.getAuthenticationToken(...), which captures the user’s face, and returns an authentication token.
Keyless.enrollCustomToken(...). The custom token can be retrieved using
Keyless.getCustomAuthenticationToken(). In custom token mode, the enrollment status is