Interface KeycloakAuthorization

    • 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