• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class AuthFilterBase

Inheritance
System.Object
AuthFilterBase
Namespace: DotNetNuke.Web.Api
Assembly: DotNetNuke.Web.dll
Syntax
public abstract class AuthFilterBase : IAuthorizationFilter

Properties

| Improve this Doc View Source

AllowMultiple

Gets a value indicating whether more than one instance of the indicated attribute can be specified for a single program element.

Declaration
public abstract bool AllowMultiple { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

IsAuthorized(AuthFilterContext)

Tests if the request passes the authorization requirements.

Declaration
public abstract bool IsAuthorized(AuthFilterContext context)
Parameters
Type Name Description
AuthFilterContext context

The auth filter context.

Returns
Type Description
System.Boolean

True when authorization is succesful.

| Improve this Doc View Source

OnAuthorization(HttpActionContext)

Co-ordinates check of authorization and handles Auth failure. Should rarely be overridden.

Declaration
protected virtual void OnAuthorization(HttpActionContext actionContext)
Parameters
Type Name Description
HttpActionContext actionContext

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS