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

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

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

    Methods in io.vertx.ext.auth.abac that return types with arguments of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<Authorization>` | Policy.`getAuthorizations()` | Get the authorizations of the policy.

    Methods in io.vertx.ext.auth.abac with parameters of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `Policy` | Policy.`addAuthorization​(Authorization authorization)` | Add an authorization to the policy.

    Method parameters in io.vertx.ext.auth.abac with type arguments of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `Policy` | Policy.`setAuthorizations​(Set<Authorization> authorizations)` | Set the authorizations of the policy.

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

    Methods in io.vertx.ext.auth.audit with parameters of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `SecurityAudit` | SecurityAudit.`authorization​(Authorization authorization)` |

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

    Subinterfaces of Authorization in io.vertx.ext.auth.authorization
    Modifier and Type | Interface | 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.)

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

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

    Methods in io.vertx.ext.auth.authorization with parameters of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `AndAuthorization` | AndAuthorization.`addAuthorization​(Authorization authorization)` |
    `OrAuthorization` | OrAuthorization.`addAuthorization​(Authorization authorization)` |
    `static NotAuthorization` | NotAuthorization.`create​(Authorization authorization)` |
    `default Authorizations` | Authorizations.`put​(String providerId, Authorization... authorizations)` | Replaces the current authorizations with the given authorizations for the given provider.
    `boolean` | Authorization.`verify​(Authorization authorization)` | this method verifies whether or not the authorization implies the specified authorization.
    `boolean` | Authorizations.`verify​(Authorization resolvedAuthorization)` | Verifies that the given authorization is present in the authorizations.

    Method parameters in io.vertx.ext.auth.authorization with type arguments of type Authorization
    Modifier and Type | Method | Description
    --- | --- | ---
    `Authorizations` | Authorizations.`forEach​(String providerId, Consumer<Authorization> consumer)` | Walk all the authorizations for the given provider and call the consumer for each authorization.
    `Authorizations` | Authorizations.`forEach​(BiConsumer<String,​Authorization> consumer)` | Walk all the authorizations and call the consumer for each authorization.
    `Authorizations` | Authorizations.`put​(String providerId, Set<Authorization> authorizations)` | Replaces the current authorizations with the given authorizations for the given provider.
    `Authorizations` | Authorizations.`putAll​(Map<String,​Set<Authorization>> authorizations)` | Replaces the current authorizations with the given 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 | Description
    --- | --- | ---
    `static AuthorizationHandler` | AuthorizationHandler.`create​(Authorization authorization)` | create 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 | Description
    --- | --- | ---
    `Authorization` | Authorization.`getDelegate()` |

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

  - ### 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 | Description
    --- | --- | ---
    `Authorization` | Authorization.`getDelegate()` |

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

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

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