AuthenticationRequest.Credential.Builder


class AuthenticationRequest.Credential.Builder


Builder used to create an instance of Credential.

Summary

Public constructors

Builder(title: String)

Public functions

AuthenticationRequest.Credential

Construct an instance of Credential.

AuthenticationRequest.Credential.Builder

The optional BodyContent of the prompt.

AuthenticationRequest.Credential.Builder

An optional cryptographic object to be associated with the authentication.

AuthenticationRequest.Credential.Builder
setSubtitle(subtitle: String?)

The optional subtitle of the prompt.

Public constructors

Builder

Added in 1.4.0-alpha03
Builder(title: String)
Parameters
title: String

The title of the prompt.

Public functions

build

Added in 1.4.0-alpha03
fun build(): AuthenticationRequest.Credential

Construct an instance of Credential.

setContent

Added in 1.4.0-alpha03
fun setContent(content: AuthenticationRequest.BodyContent?): AuthenticationRequest.Credential.Builder

The optional BodyContent of the prompt.

setCryptoObject

Added in 1.4.0-alpha03
fun setCryptoObject(cryptoObject: BiometricPrompt.CryptoObject?): AuthenticationRequest.Credential.Builder

An optional cryptographic object to be associated with the authentication.

setSubtitle

Added in 1.4.0-alpha03
fun setSubtitle(subtitle: String?): AuthenticationRequest.Credential.Builder

The optional subtitle of the prompt.