com.descope.sdk.mgmt.RolesService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java library used to integrate with Descope.
package com.descope.sdk.mgmt;
import com.descope.exception.DescopeException;
import com.descope.model.roles.RoleResponse;
import com.descope.model.roles.RoleSearchOptions;
import java.util.List;
public interface RolesService {
void create(String name, String description, List permissionNames) throws DescopeException;
void create(String name, String tenantId, String description, List permissionNames) throws DescopeException;
void update(String name, String newName, String description, List permissionNames) throws DescopeException;
void update(String name, String tenantId, String newName, String description, List permissionNames)
throws DescopeException;
void delete(String name) throws DescopeException;
void delete(String name, String tenantId) throws DescopeException;
RoleResponse loadAll() throws DescopeException;
RoleResponse search(RoleSearchOptions roleSearchOptions) throws DescopeException;
}