AuthenticateParameters
data class AuthenticateParameters( val context: FragmentActivity, val sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES, val promptInfo: BiometricPrompt.PromptInfo? = null)
Content copied to clipboard
Data class used for wrapping parameters used with Biometrics authentication flow
Parameters
context
is the calling FragmentActivity
sessionDurationMinutes
indicates how long the session should last before it expires
promptInfo
is an optional biometric prompt configuration. If one is not provided a default will be created
Constructors
Link copied to clipboard
fun AuthenticateParameters( context: FragmentActivity, sessionDurationMinutes: UInt = Constants.DEFAULT_SESSION_TIME_MINUTES, promptInfo: BiometricPrompt.PromptInfo? = null)
Content copied to clipboard