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

    All Methods Static Methods Default Methods
    Modifier and Type | Method and 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

      `create, getAuthorizations, 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

Copyright © 2021 Eclipse. All rights reserved.