You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
566 B

using Identity.Api.Clean.Shared.ValueObjects;
namespace Identity.Api.Clean.Shared.IServices;
public interface IPermissionGrantManager
{
Task<IEnumerable<string>> GetPermissionNamesAsync(params (string providerName, Guid providerKey)[] providerKeys);
Task<List<PermissionGroupValueObject>> GetPermissionGrantsAsync(string providerName, Guid providerKey);
List<PermissionGroupValueObject> GetPermissionGroups(IEnumerable<string> permissionNames);
Task SetAsync(string permissionName, string providerName, Guid providerKey, bool isGranted);
}