AuthenticationRequest.Biometric


class AuthenticationRequest.Biometric : AuthenticationRequest


A set of configurable options for how the BiometricPrompt should appear and behave with biometric authentication with fallbacks.

Summary

Nested types

Builder used to create an instance of Biometric.

Fallback options for the biometric authentication.

Device credential as the fallback.

A customized negative button as the fallback.

Types of biometric strength for the prompt.

Class 2 (formerly Weak).

Class 3 (formerly Strong).

Public properties

AuthenticationRequest.Biometric.Fallback

The Fallback for the biometric authentication.

AuthenticationRequest.BodyContent?

The optional BodyContent of the prompt.

Boolean

Whether user confirmation should be required for passive biometrics.

Bitmap?
String?
Int
AuthenticationRequest.Biometric.Strength

The minimum biometric strength for the authentication.

String?

The optional subtitle of the prompt.

String

The title of the prompt.

Public properties

authFallback

Added in 1.4.0-alpha03
val authFallbackAuthenticationRequest.Biometric.Fallback

The Fallback for the biometric authentication.

content

Added in 1.4.0-alpha03
val contentAuthenticationRequest.BodyContent?

The optional BodyContent of the prompt.

isConfirmationRequired

Added in 1.4.0-alpha03
val isConfirmationRequiredBoolean

Whether user confirmation should be required for passive biometrics.

logoBitmap

Added in 1.4.0-alpha03
val logoBitmapBitmap?

logoDescription

Added in 1.4.0-alpha03
val logoDescriptionString?

logoRes

Added in 1.4.0-alpha03
val logoResInt

minStrength

Added in 1.4.0-alpha03
val minStrengthAuthenticationRequest.Biometric.Strength

The minimum biometric strength for the authentication. Note that Class 3 biometrics are guaranteed to meet the requirements for Class 2 and thus will also be accepted.

subtitle

Added in 1.4.0-alpha03
val subtitleString?

The optional subtitle of the prompt.

title

Added in 1.4.0-alpha03
val titleString

The title of the prompt.