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

    Modifier and Type
    Method
    Description
    Appends a auth provider to the chain.
    all()
    Create a chain authentication handler that will assert that all handlers pass the verification.
    any()
    Create a chain authentication handler that will assert that any handler passes the verification.

    Methods inherited from interface Handler

    handle
  • Method Details

    • 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

      Appends a auth provider to the chain.
      Parameters:
      other - auth handler
      Returns:
      self