Package io.vertx.ext.web.handler
Interface ChainAuthHandler
-
- All Superinterfaces:
AuthenticationHandler
,Handler<RoutingContext>
public interface ChainAuthHandler extends AuthenticationHandler
An auth handler that chains to a sequence of handlers.- Author:
- Paulo Lopes
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ChainAuthHandler
add(AuthenticationHandler other)
Appends a auth provider to the chain.static ChainAuthHandler
all()
Create a chain authentication handler that will assert that all handlers pass the verification.static ChainAuthHandler
any()
Create a chain authentication handler that will assert that any handler passes the verification.
-
-
-
Method Detail
-
all
static ChainAuthHandler all()
Create a chain authentication handler that will assert that all handlers pass the verification.- Returns:
- a new chain authentication handler
-
any
static ChainAuthHandler any()
Create a chain authentication handler that will assert that any handler passes the verification.- Returns:
- a new chain authentication handler
-
add
ChainAuthHandler add(AuthenticationHandler other)
Appends a auth provider to the chain.- Parameters:
other
- auth handler- Returns:
- self
-
-