authenticate

abstract suspend fun authenticate(parameters: Biometrics.AuthenticateParameters): BiometricsAuthResponse

If a valid biometric registration exists, this method confirms the current device owner via the device's built-in biometric reader and returns an updated session object by either starting a new session or adding the biometric factor to an existing session.

Return

BiometricsAuthResponse

Parameters

parameters

required to authenticate a biometrics key


abstract fun authenticate(parameters: Biometrics.AuthenticateParameters, callback: (BiometricsAuthResponse) -> Unit)

If a valid biometric registration exists, this method confirms the current device owner via the device's built-in biometric reader and returns an updated session object by either starting a new session or adding the biometric factor to an existing session.

Parameters

parameters

required to authenticate a biometrics key

callback

a callback that receives a BiometricsAuthResponse