Package 

Class WebAuthnClientException

  • 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 (largeBlob write 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 a DOMException of webAuthnError).

    • Method Summary

      Modifier and Type Method Description
      final String getWebAuthnError()
      Throwable getCause()
      String getMessage()
      • 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