CredentialNotAuthenticatedException class
Thrown when none of the allowed credentials could be used to authenticate.
Android reports this both when the user skips the biometric prompt and when the credential provider fails to use the selected passkey, so the two can't be told apart. It extends PasskeyAuthCancelledException so existing cancellation handling keeps working, while message holds what the platform reported.
Platforms: Android
Suggestions:
- allow the user to start the flow again.
- log message to diagnose credential provider failures.
- Inheritance
-
- Object
- PasskeyAuthCancelledException
- CredentialNotAuthenticatedException
Constructors
- CredentialNotAuthenticatedException([String? message])
- Constructor
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited