// *********************************************************************** // Assembly : OpenAuth.App // Author : 李玉宝 // Created : 07-05-2018 // // Last Modified By : 李玉宝 // Last Modified On : 07-05-2018 // *********************************************************************** // // Copyright (c) http://www.openauth.net.cn. All rights reserved. // // // 授权策略接口 // // *********************************************************************** using System.Collections.Generic; using Infrastructure; using OpenAuth.App.Response; using OpenAuth.Repository.Domain; namespace OpenAuth.App { public interface IAuthStrategy { List Modules { get; } List ModuleElements { get; } List Roles { get; } List Resources { get; } List Orgs { get; } User User { get;set; } /// /// 根据模块id获取可访问的模块字段 /// /// /// List GetProperties(string moduleCode); } }