AuthenticationResult.Success


class AuthenticationResult.Success : AuthenticationResult


A result when the user has successfully authenticated.

Summary

Public constructors

Success(crypto: BiometricPrompt.CryptoObject?, authType: Int)

Public functions

open AuthenticationResult.Success

Returns a Success only if it's a Success, throws otherwise.

Public properties

Int

An integer representing the type of authentication(e.g. device credential or biometric) that was requested from and successfully provided by the user.

BiometricPrompt.CryptoObject?

The BiometricPrompt.CryptoObject associated with this transaction.

Inherited functions

From androidx.biometric.AuthenticationResult
open AuthenticationResult.Error?

Returns a Error only if it's a Error, throws otherwise.

open Boolean

Whether this AuthenticationResult is an Error.

open Boolean

Whether this AuthenticationResult is a Success.

Public constructors

Success

Added in 1.4.0-alpha03
Success(crypto: BiometricPrompt.CryptoObject?, authType: Int)

Public functions

success

open fun success(): AuthenticationResult.Success

Returns a Success only if it's a Success, throws otherwise.

Public properties

authType

Added in 1.4.0-alpha03
val authTypeInt

An integer representing the type of authentication(e.g. device credential or biometric) that was requested from and successfully provided by the user.

crypto

Added in 1.4.0-alpha03
val cryptoBiometricPrompt.CryptoObject?

The BiometricPrompt.CryptoObject associated with this transaction.