isSupported

open override fun isSupported(context: Context, attestation: Attestation): Boolean

Checks if biometric-only authentication is supported on the current device.

This method determines whether the device can support pure biometric authentication by checking for the availability of either weak or strong biometric authentication capabilities. It provides a permissive check that accepts any level of biometric authentication, allowing the authenticator to adapt between strong and weak biometric modes as needed.

Return

true if any level of biometric authentication is supported and available, false otherwise

Parameters

context

Android context for accessing biometric and security services

attestation

Attestation requirements (not used for basic support checking, but may be relevant for future hardware attestation validation)

See also