Package | Description |
---|---|
io.vertx.ext.web.handler |
Modifier and Type | Method and Description |
---|---|
AuthorizationHandler |
AuthorizationHandler.addAuthorizationProvider(io.vertx.ext.auth.authorization.AuthorizationProvider authorizationProvider)
Adds a provider that shall be used to retrieve the required authorizations for the user to attest.
|
static AuthorizationHandler |
AuthorizationHandler.create(io.vertx.ext.auth.authorization.Authorization authorization)
create the the handler that will check the specified authorization
Note that to check several authorizations, you can specify a sub-interface such as
AndAuthorization or OrAuthorization |
AuthorizationHandler |
AuthorizationHandler.variableConsumer(BiConsumer<RoutingContext,io.vertx.ext.auth.authorization.AuthorizationContext> handler)
Provide a simple handler to extract needed variables.
|
Copyright © 2021 Eclipse. All rights reserved.