public interface AuthenticationHandler extends 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
|
AuthenticationHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
static AuthenticationHandler |
newInstance(AuthenticationHandler arg) |
void |
postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects.
|
AuthenticationHandler getDelegate()
void handle(RoutingContext event)
handle
in interface Handler<RoutingContext>
event
- the event to handleString authenticateHeader(RoutingContext context)
context
- void postAuthentication(RoutingContext ctx)
ctx
- the routing contextstatic AuthenticationHandler newInstance(AuthenticationHandler arg)
Copyright © 2021 Eclipse. All rights reserved.