package org.keycloak.models; import java.util.Set; /** * @author Bill Burke * @version $Revision: 1 $ */ public interface RoleMapperModel { Set getRealmRoleMappings(); Set getClientRoleMappings(ClientModel app); boolean hasRole(RoleModel role); void grantRole(RoleModel role); Set getRoleMappings(); void deleteRoleMapping(RoleModel role); }