authenticate

abstract suspend fun authenticate(context: Context = ContextProvider.context): Result<Pair<PrivateKey, BiometricPrompt.CryptoObject?>>

Authenticates the user and retrieves the private key for signing operations.

Return

A Result containing a Pair of the PrivateKey and optional CryptoObject on success, or an error on failure

Parameters

context

The Android context for authentication operations