Interface ChainAuthHandler
- All Superinterfaces:
AuthenticationHandler, Handler<RoutingContext>
An auth handler that chains to a sequence of handlers.
- Author:
- Paulo Lopes
-
Method Summary
Modifier and TypeMethodDescriptionadd(AuthenticationHandler other) Appends a auth provider to the chain.static ChainAuthHandlerall()Create a chain authentication handler that will assert that all handlers pass the verification.static ChainAuthHandlerany()Create a chain authentication handler that will assert that any handler passes the verification.
-
Method Details
-
all
Create a chain authentication handler that will assert that all handlers pass the verification.- Returns:
- a new chain authentication handler
-
any
Create a chain authentication handler that will assert that any handler passes the verification.- Returns:
- a new chain authentication handler
-
add
Appends a auth provider to the chain.- Parameters:
other- auth handler- Returns:
- self
-