Class DigestAuthHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<RoutingContext>, AuthenticationHandler

    public class DigestAuthHandler
    extends Object
    implements AuthenticationHandler, io.vertx.core.Handler<RoutingContext>
    An auth handler that provides HTTP Basic Authentication support.

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

    • Field Detail

      • DEFAULT_NONCE_EXPIRE_TIMEOUT

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

      • DigestAuthHandler

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

        public DigestAuthHandler​(Object delegate)
    • Method Detail

      • hashCode

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

        public static DigestAuthHandler create​(Vertx vertx,
                                               HtdigestAuth authProvider)
        Create a digest auth handler
        Parameters:
        vertx - the vertx instance
        authProvider - the auth provider to use
        Returns:
        the auth handler
      • create

        public static DigestAuthHandler create​(Vertx vertx,
                                               HtdigestAuth authProvider,
                                               long nonceExpireTimeout)
        Create a digest auth handler, specifying the expire timeout for nonces.
        Parameters:
        vertx - the vertx instance
        authProvider - the auth service to use
        nonceExpireTimeout - the nonce expire timeout in milliseconds.
        Returns:
        the auth handler
      • newInstance

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