Package io.vertx.ext.auth.authorization

## Interface AuthorizationProvider

- All Known Subinterfaces:
    `JWTAuthorization`, `KeycloakAuthorization`, `MicroProfileAuthorization`, `MongoAuthorization`, `PolicyBasedAuthorizationProvider`, `PropertyFileAuthorization`, `ScopeAuthorization`, `SqlAuthorization`

      public interface AuthorizationProvider

  The role of an AuthorizationProvider is to return a set of Authorization. Note that each AuthorizationProvider must provide its own unique Id
  Author:
    stephane bastian

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Future<Void>` | `getAuthorizations​(User user)` | Updates the user with the set of authorizations.
    `String` | `getId()` | returns the id of the authorization provider

- - ### Method Detail

    - #### getId

          String getId()

      returns the id of the authorization provider
      Returns:

    - #### getAuthorizations

          Future<Void> getAuthorizations​(User user)

      Updates the user with the set of authorizations.
      Parameters:
        `user` - user to lookup and update.
      Returns:
        Future void to signal end of asynchronous call.