public interface AuthenticationHandler extends io.vertx.core.Handler<RoutingContext>
An auth handler allows your application to provide authentication/authorization support.
Auth handler requires a SessionHandler
to be on the routing chain before it.
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Method and Description |
---|---|
String |
authenticateHeader(RoutingContext context)
Returns
|
io.vertx.ext.web.handler.AuthenticationHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
static AuthenticationHandler |
newInstance(io.vertx.ext.web.handler.AuthenticationHandler arg) |
void |
postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
io.vertx.ext.web.handler.AuthenticationHandler getDelegate()
void handle(RoutingContext event)
handle
in interface io.vertx.core.Handler<RoutingContext>
event
- the event to handleString authenticateHeader(RoutingContext context)
context
- void postAuthentication(RoutingContext ctx)
ctx
- the routing contextstatic AuthenticationHandler newInstance(io.vertx.ext.web.handler.AuthenticationHandler arg)
Copyright © 2021 Eclipse. All rights reserved.