using Easy.AuthorityManagement.Clean.Shared.Modles; namespace Easy.AuthorityManagement.Clean.Shared.IServices; public interface IPermissionGrantManager { Task> GetPermissionNamesAsync(params (string providerName, long providerKey)[] providerKeys); Task> GetPermissionGrantsAsync(string providerName, long providerKey); List GetPermissionGroups(IEnumerable permissionNames); Task SetAsync(string permissionName, string providerName, long providerKey, bool isGranted); }