## Uses of Interface
io.vertx.ext.auth.authorization.Authorization

- Packages that use Authorization
  Package | Description
  --- | ---
  io.vertx.ext.auth |
  io.vertx.ext.auth.authorization |
  io.vertx.ext.web.handler |
  io.vertx.reactivex.ext.auth.authorization |
  io.vertx.rxjava.ext.auth.authorization |
  io.vertx.rxjava3.ext.auth.authorization |
  io.vertx.serviceproxy |

- - ### Uses of Authorization in io.vertx.ext.auth

    Methods in io.vertx.ext.auth with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `default Future<Boolean>` | User.`isAuthorized(Authorization authority)` Deprecated.
    `User` | User.`isAuthorized(Authorization authority, Handler<AsyncResult<Boolean>> resultHandler)` Deprecated.

  - ### Uses of Authorization in io.vertx.ext.auth.authorization

    Subinterfaces of Authorization in io.vertx.ext.auth.authorization
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AndAuthorization` Allows to perform a logical 'and' between several authorizations
    `interface` | `NotAuthorization` Allows to perform a logical 'not' of the specified authorization
    `interface` | `OrAuthorization` Allows to perform a logical 'or' between several authorizations
    `interface` | `PermissionBasedAuthorization` Represents a permission Note that the permission can optionally be assigned to a specific resource
    `interface` | `RoleBasedAuthorization` Represents a role.
    `interface` | `WildcardPermissionBasedAuthorization` Represents a wildcard permission (ie: 'manage:order:*' '*:orders', '*', etc.) Note that it can optionally be assigned to a specific resource

    Methods in io.vertx.ext.auth.authorization that return Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorization` | NotAuthorization.`getAuthorization()`

    Methods in io.vertx.ext.auth.authorization that return types with arguments of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Set<Authorization>` | Authorizations.`get(String providerId)`
    `List<Authorization>` | AndAuthorization.`getAuthorizations()`
    `List<Authorization>` | OrAuthorization.`getAuthorizations()`

    Methods in io.vertx.ext.auth.authorization with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorizations` | Authorizations.`add(String providerId, Authorization authorization)`
    `AndAuthorization` | AndAuthorization.`addAuthorization(Authorization authorization)`
    `OrAuthorization` | OrAuthorization.`addAuthorization(Authorization authorization)`
    `static NotAuthorization` | NotAuthorization.`create(Authorization authorization)`
    `boolean` | Authorization.`verify(Authorization authorization)` this method verifies whether or not the authorization implies the specified authorization.

    Method parameters in io.vertx.ext.auth.authorization with type arguments of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorizations` | Authorizations.`add(String providerId, Set<Authorization> authorizations)`
    `static AuthorizationProvider` | AuthorizationProvider.`create(String id, Set<Authorization> authorizations)` create an authorization provider with the specified id and authorizations

  - ### Uses of Authorization in io.vertx.ext.web.handler

    Methods in io.vertx.ext.web.handler with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `static AuthorizationHandler` | AuthorizationHandler.`create(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`

  - ### Uses of Authorization in io.vertx.reactivex.ext.auth.authorization

    Methods in io.vertx.reactivex.ext.auth.authorization that return Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorization` | Authorization.`getDelegate()`

    Methods in io.vertx.reactivex.ext.auth.authorization with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `static Authorization` | Authorization.`newInstance(Authorization arg)`

    Constructors in io.vertx.reactivex.ext.auth.authorization with parameters of type Authorization
    Constructor and Description
    `Authorization(Authorization delegate)`

  - ### Uses of Authorization in io.vertx.rxjava.ext.auth.authorization

    Methods in io.vertx.rxjava.ext.auth.authorization that return Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorization` | Authorization.`getDelegate()`

    Methods in io.vertx.rxjava.ext.auth.authorization with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `static Authorization` | Authorization.`newInstance(Authorization arg)`

    Constructors in io.vertx.rxjava.ext.auth.authorization with parameters of type Authorization
    Constructor and Description
    `Authorization(Authorization delegate)`

  - ### Uses of Authorization in io.vertx.rxjava3.ext.auth.authorization

    Methods in io.vertx.rxjava3.ext.auth.authorization that return Authorization
    Modifier and Type | Method and Description
    --- | ---
    `Authorization` | Authorization.`getDelegate()`

    Methods in io.vertx.rxjava3.ext.auth.authorization with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `static Authorization` | Authorization.`newInstance(Authorization arg)`

    Constructors in io.vertx.rxjava3.ext.auth.authorization with parameters of type Authorization
    Constructor and Description
    `Authorization(Authorization delegate)`

  - ### Uses of Authorization in io.vertx.serviceproxy

    Methods in io.vertx.serviceproxy with parameters of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `ServiceAuthInterceptor` | ServiceAuthInterceptor.`addAuthorization(Authorization authorization)` Add a single authority to the authorities set.

    Method parameters in io.vertx.serviceproxy with type arguments of type Authorization
    Modifier and Type | Method and Description
    --- | ---
    `ServiceAuthInterceptor` | ServiceAuthInterceptor.`setAuthorizations(Set<Authorization> authorizations)` Set the required authorities for the service, once a JWT is validated it will be queried for these authorities.

Copyright © 2022 Eclipse. All rights reserved.