Show / Hide Table of Contents

Class DnnAuthorizeAttribute

Inheritance
object
AuthorizeAttributeBase
DnnAuthorizeAttribute
Implements
IOverrideDefaultAuthLevel
Inherited Members
AuthorizeAttributeBase.IsAnonymousAttributePresent(HttpActionContext)
AuthorizeAttributeBase.OnAuthorization(HttpActionContext)
Namespace: DotNetNuke.Web.Api
Assembly: DotNetNuke.Web.dll
Syntax
public sealed class DnnAuthorizeAttribute : AuthorizeAttributeBase, IOverrideDefaultAuthLevel

Constructors

DnnAuthorizeAttribute()

Declaration
public DnnAuthorizeAttribute()

Properties

AuthTypes

Declaration
public string AuthTypes { get; set; }
Property Value
Type Description
string

DenyRoles

Declaration
public string DenyRoles { get; set; }
Property Value
Type Description
string

StaticRoles

Declaration
public string StaticRoles { get; set; }
Property Value
Type Description
string

Methods

IsAuthorized(AuthFilterContext)

Declaration
public override bool IsAuthorized(AuthFilterContext context)
Parameters
Type Name Description
AuthFilterContext context
Returns
Type Description
bool
Overrides
AuthorizeAttributeBase.IsAuthorized(AuthFilterContext)

Implements

IOverrideDefaultAuthLevel

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS