Interface KeycloakAuthorization
- All Superinterfaces:
AuthorizationProvider
Implementation of the Keycloak Authorization Provider.
- Author:
- Paulo Lopes.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic KeycloakAuthorizationcreate()Factory method to create an Authorization Provider for tokens adhering to the Keycloak token format.Methods inherited from interface AuthorizationProvider
getAuthorizations, getId
-
Method Details
-
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 userUser.attributes()under the key:accessToken.- Returns:
- a AuthorizationProvider
-