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 Default Methods Deprecated Methods
    Modifier and Type | Method and 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.
    `static ChainAuthHandler` | `create()` Deprecated. use `any()` instead.

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Method Detail

    - #### create

          @Deprecated
          static ChainAuthHandler create()

      Deprecated. use `any()` instead.

    - #### 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

Copyright © 2024 Eclipse. All rights reserved.