Package io.vertx.ext.auth.oauth2.authorization

## Interface KeycloakAuthorization

- All Superinterfaces:
    `AuthorizationProvider`

      public interface KeycloakAuthorization
      extends AuthorizationProvider

  Implementation of the Keycloak Authorization Provider.
  Author:
    Paulo Lopes.

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static KeycloakAuthorization` | `create()` | Factory method to create an Authorization Provider for tokens adhering to the Keycloak token format.

    - ### Methods inherited from interface io.vertx.ext.auth.authorization.AuthorizationProvider

      `getAuthorizations, getId`

- - ### Method Detail

    - #### create

          static KeycloakAuthorization create()

      Factory method to create an Authorization Provider for tokens adhering to the Keycloak token format. When the user is known to not be a JWT, (e.g.: a OAuth2 response token) then the root claim is expected to be the extracted from the user `User.attributes()` under the key: `accessToken`.
      Returns:
        a AuthorizationProvider