Class WebAuthnHandler

java.lang.Object
io.vertx.mutiny.ext.web.handler.WebAuthnHandler
All Implemented Interfaces:
io.smallrye.mutiny.vertx.MutinyDelegate, io.vertx.core.Handler<RoutingContext>, AuthenticationHandler, Consumer<RoutingContext>

public class WebAuthnHandler extends Object implements io.smallrye.mutiny.vertx.MutinyDelegate, AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that provides FIDO2 WebAuthN Relay Party support.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.smallrye.mutiny.vertx.TypeArg<WebAuthnHandler> __TYPE_ARG
  • Constructor Details

    • WebAuthnHandler

      public WebAuthnHandler(io.vertx.ext.web.handler.WebAuthnHandler delegate)
    • WebAuthnHandler

      public WebAuthnHandler(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.WebAuthnHandler getDelegate()
      Specified by:
      getDelegate in interface AuthenticationHandler
      Specified by:
      getDelegate in interface io.smallrye.mutiny.vertx.MutinyDelegate
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • handle

      public void handle(RoutingContext arg0)
      Specified by:
      handle in interface AuthenticationHandler
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • create

      public static WebAuthnHandler create(io.vertx.mutiny.ext.auth.webauthn.WebAuthn webAuthn)
      Parameters:
      webAuthn -
      Returns:
      the auth handler
    • setupCredentialsCreateCallback

      public WebAuthnHandler setupCredentialsCreateCallback(Route route)
      Parameters:
      route - the route where credential get options are generated.
      Returns:
      fluent self.
    • setupCredentialsGetCallback

      public WebAuthnHandler setupCredentialsGetCallback(Route route)
      Parameters:
      route - the route where credential get options are generated.
      Returns:
      fluent self.
    • setupCallback

      public WebAuthnHandler setupCallback(Route route)
      Parameters:
      route - the route where assertions and attestations are verified.
      Returns:
      fluent self.
    • setOrigin

      public WebAuthnHandler setOrigin(String origin)
      Parameters:
      origin - - an HTTP Origin
      Returns:
      fluent self
    • accept

      public void accept(RoutingContext item)
      Specified by:
      accept in interface AuthenticationHandler
      Specified by:
      accept in interface Consumer<RoutingContext>
    • newInstance

      public static WebAuthnHandler newInstance(io.vertx.ext.web.handler.WebAuthnHandler arg)