Class DnnModuleAuthorizeAttribute
Inheritance
System.Object
DnnModuleAuthorizeAttribute
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnModuleAuthorizeAttribute : AuthorizeAttributeBase, IOverrideDefaultAuthLevel
Constructors
|
Improve this Doc
View Source
DnnModuleAuthorizeAttribute()
Declaration
public DnnModuleAuthorizeAttribute()
Properties
|
Improve this Doc
View Source
AccessLevel
Declaration
public SecurityAccessLevel AccessLevel { get; set; }
Property Value
| Type |
Description |
| SecurityAccessLevel |
|
|
Improve this Doc
View Source
PermissionKey
Declaration
public string PermissionKey { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Methods
|
Improve this Doc
View Source
FindModuleInfo(HttpRequestMessage)
Declaration
protected virtual ModuleInfo FindModuleInfo(HttpRequestMessage request)
Parameters
| Type |
Name |
Description |
| HttpRequestMessage |
request |
|
Returns
| Type |
Description |
| ModuleInfo |
|
|
Improve this Doc
View Source
IsAuthorized(AuthFilterContext)
Tests if the request passes the authorization requirements.
Declaration
public override bool IsAuthorized(AuthFilterContext context)
Parameters
Returns
| Type |
Description |
| System.Boolean |
True when authorization is succesful.
|
Overrides
Implements
Extension Methods