-
- All Implemented Interfaces:
-
java.io.Serializable
public final class WebAuthnClientException extends Exception
A terminal WebAuthn client error returned by FidoClient when a request cannot be satisfied and retrying would not help — e.g. an unsupported extension request (
largeBlobwrite with more than one allowed credential). Distinct from a kotlin.coroutines.cancellation.CancellationException, which signals the user dismissing the flow: this carries the actual reason so the caller can react to it (a WebView bridge, for instance, rejects the page's promise with aDOMExceptionof webAuthnError).
-
-
Constructor Summary
Constructors Constructor Description WebAuthnClientException(String webAuthnError, String message)
-
Method Summary
Modifier and Type Method Description final StringgetWebAuthnError()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getWebAuthnError
final String getWebAuthnError()
-
getMessage
String getMessage()
-
-
-
-