Method | Description | |
---|---|---|
ApiAuthorizeAttributeBase ( string permission ) : System | ||
CreatePermissionManager ( ) : IPermissionManager |
创建权限管理器
|
|
IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool |
protected ApiAuthorizeAttributeBase ( string permission ) : System | ||
permission | string | |
return | System |
protected abstract CreatePermissionManager ( ) : IPermissionManager | ||
return | IPermissionManager |
protected IsAuthorized ( System.Web.Http.Controllers.HttpActionContext actionContext ) : bool | ||
actionContext | System.Web.Http.Controllers.HttpActionContext | |
return | bool |