Package org.keycloak
Class AuthorizationContext
java.lang.Object
org.keycloak.AuthorizationContext
- Direct Known Subclasses:
ClientAuthorizationContext
- Author:
- Pedro Igor
-
Constructor Summary
ConstructorDescriptionAuthorizationContext
(AccessToken authzToken, PolicyEnforcerConfig.PathConfig current) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasPermission
(String resourceName, String scopeName) boolean
hasResourcePermission
(String resourceName) boolean
hasScopePermission
(String scopeName) boolean
-
Constructor Details
-
AuthorizationContext
-
AuthorizationContext
public AuthorizationContext()
-
-
Method Details
-
hasPermission
-
hasResourcePermission
-
hasScopePermission
-
getPermissions
-
isGranted
public boolean isGranted()
-