AuthenticationRequest.Credential


@RequiresApi(value = 30)
public final class AuthenticationRequest.Credential extends 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 methods

final AuthenticationRequest.BodyContent

The optional BodyContent of the prompt.

final BiometricPrompt.CryptoObject

An optional cryptographic object to be associated with the authentication.

final String

The optional subtitle of the prompt.

final @NonNull String

The title of the prompt.

Public methods

getContent

Added in 1.4.0-alpha03
public final AuthenticationRequest.BodyContent getContent()

The optional BodyContent of the prompt.

getCryptoObject

Added in 1.4.0-alpha03
public final BiometricPrompt.CryptoObject getCryptoObject()

An optional cryptographic object to be associated with the authentication.

getSubtitle

Added in 1.4.0-alpha03
public final String getSubtitle()

The optional subtitle of the prompt.

getTitle

Added in 1.4.0-alpha03
public final @NonNull String getTitle()

The title of the prompt.