RegisterParameters

data class RegisterParameters(val context: FragmentActivity, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES, val allowFallbackToCleartext: Boolean = false, val promptData: Biometrics.PromptData? = null, val allowDeviceCredentials: Boolean = false)

Data class used for wrapping parameters used with Biometrics registration flow

Constructors

Link copied to clipboard
constructor(context: FragmentActivity, sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES, allowFallbackToCleartext: Boolean = false, promptData: Biometrics.PromptData? = null, allowDeviceCredentials: Boolean = false)

Properties

Link copied to clipboard

opts-in to allowing the use of non-biometric device credentials (PIN, Pattern) as a fallback (on Android versions greater than Q)

Link copied to clipboard

opts-in to allowing biometric registrations when the KeyStore is unreliable. If this is set to false (default behavior), biometric registrations will fail when the KeyStore is not used.

Link copied to clipboard

is the calling FragmentActivity

Link copied to clipboard

is an optional biometric prompt configuration. If one is not provided a default will be created

Link copied to clipboard

indicates how long the session should last before it expires