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.
| Modifier and Type | Method and Description | 
|---|---|
default String | 
authenticateHeader(RoutingContext context)
Returns 
 | 
default Future<Credentials> | 
parseCredentials(RoutingContext context)  | 
void | 
parseCredentials(RoutingContext context,
                Handler<AsyncResult<Credentials>> handler)
Parses the credentials from the request into a JsonObject. 
 | 
default void | 
postAuthentication(RoutingContext ctx)
This method is called to perform any post authentication tasks, such as redirects. 
 | 
void parseCredentials(RoutingContext context, Handler<AsyncResult<Credentials>> handler)
context - the routing contexthandler - the handler to be called once the information is available.default Future<Credentials> parseCredentials(RoutingContext context)
context - the routing contextparseCredentials(RoutingContext, Handler)default String authenticateHeader(RoutingContext context)
context - default void postAuthentication(RoutingContext ctx)
ctx - the routing contextCopyright © 2021 Eclipse. All rights reserved.