Class DigestAuthHandler

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

public class DigestAuthHandler extends Object implements io.smallrye.mutiny.vertx.MutinyDelegate, AuthenticationHandler, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
An auth handler that provides HTTP Basic Authentication 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<DigestAuthHandler> __TYPE_ARG
    • DEFAULT_NONCE_EXPIRE_TIMEOUT

      public static final long DEFAULT_NONCE_EXPIRE_TIMEOUT
      The default nonce expire timeout to use in milliseconds.
      See Also:
  • Constructor Details

    • DigestAuthHandler

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

      public DigestAuthHandler(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.DigestAuthHandler 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 DigestAuthHandler create(io.vertx.mutiny.core.Vertx vertx, io.vertx.mutiny.ext.auth.htdigest.HtdigestAuth authProvider)
      Parameters:
      vertx - the vertx instance
      authProvider - the auth provider to use
      Returns:
      the auth handler
    • create

      public static DigestAuthHandler create(io.vertx.mutiny.core.Vertx vertx, io.vertx.mutiny.ext.auth.htdigest.HtdigestAuth authProvider, long nonceExpireTimeout)
      Parameters:
      vertx - the vertx instance
      authProvider - the auth service to use
      nonceExpireTimeout - the nonce expire timeout in milliseconds.
      Returns:
      the auth handler
    • accept

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

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