Package org.keycloak

Class AuthorizationContext

java.lang.Object
org.keycloak.AuthorizationContext
Direct Known Subclasses:
ClientAuthorizationContext

public class AuthorizationContext extends Object
Author:
Pedro Igor
  • Constructor Details

  • Method Details

    • hasPermission

      public boolean hasPermission(String resourceName, String scopeName)
    • hasResourcePermission

      public boolean hasResourcePermission(String resourceName)
    • hasScopePermission

      public boolean hasScopePermission(String scopeName)
    • getPermissions

      public List<Permission> getPermissions()
    • isGranted

      public boolean isGranted()