Types

Link copied to clipboard

The user can't authenticate because the hardware is unavailable. Try again later.

Link copied to clipboard

The user can't authenticate because there is no suitable hardware (e.g. no biometric sensor or no keyguard).

Link copied to clipboard

The user can't authenticate because no biometric or device credential is enrolled.

Link copied to clipboard

The user can't authenticate because a security vulnerability has been discovered with one or more hardware sensors. The affected sensor(s) are unavailable until a security update has addressed the issue.

Link copied to clipboard

Unable to determine whether the user can authenticate.

Link copied to clipboard

The user can't authenticate because the specified options are incompatible with the current Android version.

Link copied to clipboard

Authentication was cancelled by the system (e.g. another window came to foreground).

Link copied to clipboard
data class InternalError(val message: String, val exception: Throwable? = null) : TSNativeBiometricsApprovalError

Internal error occurred

Link copied to clipboard

Too many failed attempts. Biometric authentication is temporarily locked out.

Link copied to clipboard

Too many failed attempts across sessions. Biometric authentication is permanently locked out until the user re-enrolls or unlocks with device credentials.

Link copied to clipboard

The user tapped the negative button on the biometric prompt (e.g. "Cancel" or "Use password").

Link copied to clipboard
data class NetworkError(val message: String, val exception: Throwable? = null) : TSNativeBiometricsApprovalError

Network Error

Link copied to clipboard
data class NoMatch(val message: String?) : TSNativeBiometricsApprovalError

Biometric did not match. The presented biometric was not recognised.

Link copied to clipboard

No space available to store credentials.

Link copied to clipboard
data class NotRegistered(val message: String, val exception: Throwable? = null) : TSNativeBiometricsApprovalError

No registered biometrics for this user.

Link copied to clipboard
data class Other(val message: String?, val exception: Throwable?) : TSNativeBiometricsApprovalError

An unexpected error occurred that does not fit any other category.

Link copied to clipboard

SDK was not initialized

Link copied to clipboard

Authentication timed out. The biometric prompt was displayed too long without user interaction.

Link copied to clipboard

The biometric prompt could not process the request.

Link copied to clipboard
data class UnKnown(val message: String?) : TSNativeBiometricsApprovalError

An unknown biometric error occurred.

Link copied to clipboard

The user dismissed the biometric prompt.

Properties

Link copied to clipboard
Link copied to clipboard