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

Constructors

CredentialNotAuthenticatedException([String? message])
Constructor

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String?
The message reported by the platform, if any.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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