authenticate
open suspend override fun authenticate(context: Context): Result<Pair<PrivateKey, BiometricPrompt.CryptoObject?>>
Authenticates the user using pure biometric methods with adaptive strength selection.
This method provides strict biometric-only authentication that automatically adapts between strong and weak biometric authentication based on device capabilities. It prioritizes BIOMETRIC_STRONG with crypto object support when available, falling back to BIOMETRIC_WEAK with time-based authentication when necessary, but never allows device credential fallback.
Return
Result containing Pair of PrivateKey and optional BiometricPrompt.CryptoObject on success, or failure with appropriate exception. CryptoObject is non-null only when BIOMETRIC_STRONG authentication is used.
Parameters
context
Android context for displaying biometric prompts and accessing system services