AuthenticationResult


class AuthenticationResult


Successful result returned from the Biometric Prompt authentication flow handled by androidx.credentials.CredentialManager.

Summary

Public constructors

AuthenticationResult(authenticationType: Int)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Int

the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user, corresponds to constants defined in androidx.biometric.BiometricPrompt such as androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC or androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL

Public constructors

AuthenticationResult

Added in 1.5.0-alpha02
AuthenticationResult(authenticationType: Int)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

authenticationType

Added in 1.5.0-alpha02
val authenticationTypeInt

the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user, corresponds to constants defined in androidx.biometric.BiometricPrompt such as androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC or androidx.biometric.BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL