Interface AuthenticationHandler

All Superinterfaces:
Consumer<RoutingContext>, io.vertx.core.Handler<RoutingContext>, MutinyDelegate
All Known Implementing Classes:
APIKeyHandler, AuthenticationHandler.AuthenticationHandlerImpl, BasicAuthHandler, ChainAuthHandler, DigestAuthHandler, FormLoginHandler, JWTAuthHandler, OAuth2AuthHandler, OtpAuthHandler, RedirectAuthHandler, SimpleAuthenticationHandler, WebAuthn4JHandler

public interface AuthenticationHandler extends io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>, MutinyDelegate
Base interface for auth handlers.

An auth handler allows your application to provide authentication support.

An Auth handler may require a SessionHandler to be on the routing chain before it.

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

Author:
Tim Fox, Paulo Lopes
See Also:
  • AuthenticationHandler
  • Method Details

    • accept

      void accept(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      accept in interface Consumer<RoutingContext>
    • handle

      void handle(RoutingContext item)
      Handle an item. This method is generated from the original method."
      Specified by:
      handle in interface io.vertx.core.Handler<RoutingContext>
    • getDelegate

      io.vertx.ext.web.handler.AuthenticationHandler getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • newInstance

      static AuthenticationHandler newInstance(io.vertx.ext.web.handler.AuthenticationHandler delegate)
      Creates a new instance of the AuthenticationHandler.