io.vertx.ext.web.handler

## Interface ChainAuthHandler

- All Superinterfaces:
    AuthHandler, Handler<RoutingContext>

      public interface ChainAuthHandler
      extends AuthHandler

  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
    Modifier and Type | Method and Description
    --- | ---
    `ChainAuthHandler` | `append(AuthHandler authHandler)` Appends a auth provider to the chain.
    `void` | `clear()` Clears the chain.
    `static ChainAuthHandler` | `create()`
    `boolean` | `remove(AuthHandler authHandler)` Removes a provider from the chain.

    - ### Methods inherited from interface io.vertx.ext.web.handler.AuthHandler

      `addAuthorities, addAuthority, authorize, parseCredentials`

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

      `handle`

- - ### Method Detail

    - #### create

          static ChainAuthHandler create()

    - #### append

          ChainAuthHandler append(AuthHandler authHandler)

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

    - #### remove

          boolean remove(AuthHandler authHandler)

      Removes a provider from the chain.
      Parameters:
        `authHandler` - provider to remove
      Returns:
        true if provider was removed, false if non existent in the chain.

    - #### clear

          void clear()

      Clears the chain.

Copyright © 2022 Eclipse. All rights reserved.