Class AuthorizationHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>

    public class AuthorizationHandler
    extends Object
    implements io.vertx.core.Handler<RoutingContext>, Consumer<RoutingContext>
    Base interface for authorization handlers that provide authorization support.

    AuthorizationHandlerImpl usually requires a AuthenticationHandler to be on the routing chain before it or a custom handler that has previously set a User in the RoutingContext

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Field Detail

    • Constructor Detail

      • AuthorizationHandler

        public AuthorizationHandler​(io.vertx.ext.web.handler.AuthorizationHandler delegate)
      • AuthorizationHandler

        public AuthorizationHandler​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.handler.AuthorizationHandler getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static AuthorizationHandler create​(io.vertx.mutiny.ext.auth.authorization.Authorization authorization)
        Parameters:
        authorization - the authorization to attest.
        Returns:
        fluent self.
      • addAuthorizationProvider

        public AuthorizationHandler addAuthorizationProvider​(io.vertx.mutiny.ext.auth.authorization.AuthorizationProvider authorizationProvider)
        Parameters:
        authorizationProvider - a provider.
        Returns:
        fluent self.
      • newInstance

        public static AuthorizationHandler newInstance​(io.vertx.ext.web.handler.AuthorizationHandler arg)