Package io.vertx.mutiny.ext.web.handler
Interface AuthenticationHandler
- All Superinterfaces:
Consumer<RoutingContext>,io.vertx.core.Handler<RoutingContext>,MutinyDelegate
- All Known Implementing Classes:
APIKeyHandler,BasicAuthHandler,ChainAuthHandler,DigestAuthHandler,FormLoginHandler,JWTAuthHandler,OAuth2AuthHandler,OtpAuthHandler,RedirectAuthHandler,SimpleAuthenticationHandler,WebAuthnHandler
public interface AuthenticationHandler
extends MutinyDelegate, io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
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.
original non Mutiny-ified interface using Vert.x codegen.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaccept(RoutingContext item) io.vertx.ext.web.handler.AuthenticationHandlervoidhandle(RoutingContext arg0) static AuthenticationHandlernewInstance(io.vertx.ext.web.handler.AuthenticationHandler arg)
-
Method Details
-
getDelegate
io.vertx.ext.web.handler.AuthenticationHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
handle
- Specified by:
handlein interfaceio.vertx.core.Handler<RoutingContext>
-
accept
- Specified by:
acceptin interfaceConsumer<RoutingContext>
-
newInstance
-