AuthenticationRequest.Credential


@RequiresApi(value = 30)
class AuthenticationRequest.Credential : AuthenticationRequest


A set of configurable options for how the BiometricPrompt should appear and behave with device credential only.

Note that Device-credential-only authentication is not supported prior to API 30.

Summary

Nested types

Builder used to create an instance of Credential.

Public properties

AuthenticationRequest.BodyContent?

The optional BodyContent of the prompt.

BiometricPrompt.CryptoObject?

An optional cryptographic object to be associated with the authentication.

String?

The optional subtitle of the prompt.

String

The title of the prompt.

Public properties

content

Added in 1.4.0-alpha03
val contentAuthenticationRequest.BodyContent?

The optional BodyContent of the prompt.

cryptoObject

Added in 1.4.0-alpha03
val cryptoObjectBiometricPrompt.CryptoObject?

An optional cryptographic object to be associated with the authentication.

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.