C# Class BeiDream.Web.Api.Authorization.WebApiPermissionManager

Inheritance: BeiDream.Core.Security.Authorization.PermissionManagerBase
ファイルを表示 Open project: BeiMeng/BeiDream

Public Methods

Method Description
WebApiPermissionManager ( IPermissionSupportService permissionSupportService, string permission, bool ignore ) : BeiDream.Core.Security.Authorization

初始化Web权限管理器

Protected Methods

Method Description
GetResourceUri ( string resourceUri ) : string

获取资源标识

Method Details

GetResourceUri() protected method

获取资源标识
protected GetResourceUri ( string resourceUri ) : string
resourceUri string 资源标识
return string

WebApiPermissionManager() public method

初始化Web权限管理器
public WebApiPermissionManager ( IPermissionSupportService permissionSupportService, string permission, bool ignore ) : BeiDream.Core.Security.Authorization
permissionSupportService IPermissionSupportService 权限支持服务
permission string
ignore bool 是否忽视权限
return BeiDream.Core.Security.Authorization