Types

Link copied to clipboard

Called when a biometric (e.g. fingerprint, face, etc.) is presented but canceled by the user.

Link copied to clipboard

Called when an error has been encountered in the login or setup biometric flow. This error is only thrown when the server rejects the biometric setup or login. Normally, happens when the user has some kind of restriction or error state on the server. The DsError contains the error details.

Link copied to clipboard
class BiometricInternalError(val dsErrorMessage: String) : DsLoginException

Called when an error has been encountered in the login or setup biometric flow. This error is only thrown when any internal parts of the biometric flow fails, not when the server rejects the biometric setup or login. The dsErrorMessage contains the error details.

Link copied to clipboard

Called when biometric authentication is available but not enrolled on the device

Link copied to clipboard

Called when biometric setup is not allowed for this login (not trusted device login)

Link copied to clipboard

Called when trying to request a AccessToken before the user has logged in, or after any case where the token has been invalidated or cleared.

Link copied to clipboard
class WebLoginError(val errorMessage: String) : DsLoginException

Called when the web login fails with a specific message from the deeplink. The errorMessage contains the error details.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?