DocSpace-buildtools/common/ASC.Core.Common/Security/IRoleProvider.cs

9 lines
204 B
C#
Raw Normal View History

2022-02-15 11:52:43 +00:00
namespace ASC.Common.Security;
[Scope(typeof(RoleProvider))]
public interface IRoleProvider
2020-10-19 19:04:07 +00:00
{
2022-02-15 11:52:43 +00:00
List<IRole> GetRoles(ISubject account);
bool IsSubjectInRole(ISubject account, IRole role);
}