Class ModuleControllerBase
- Namespace
- Oqtane.Controllers
- Assembly
- Oqtane.Server.dll
public class ModuleControllerBase : Controller
- Inheritance
-
ModuleControllerBase
Constructors
ModuleControllerBase(ILogManager, IHttpContextAccessor)
public ModuleControllerBase(ILogManager logger, IHttpContextAccessor accessor)
Parameters
logger
ILogManager
accessor
IHttpContextAccessor
Fields
_authEntityId
protected Dictionary<string, int> _authEntityId
Field Value
- Dictionary<string, int>
_entityId
Field Value
- int
_logger
protected readonly ILogManager _logger
Field Value
- ILogManager
Methods
AuthEntityId(string)
protected int AuthEntityId(string entityname)
Parameters
entityname
string
Returns
- int
IsAuthorizedEntityId(string, int)
protected bool IsAuthorizedEntityId(string entityname, int entityid)
Parameters
entityname
string
entityid
int
Returns
- bool