DataWeb
Search Results for

    Show / Hide Table of Contents

    Class DataWebAuthorizeAttribute.DataWebAuthorizeFilter

    Represents an implementation of the IAuthorizationFilter interface.

    Inheritance
    object
    DataWebAuthorizeAttribute.DataWebAuthorizeFilter
    Implements
    IAuthorizationFilter
    IFilterMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Filter
    Assembly: DataWeb.Core.dll
    Syntax
    public class DataWebAuthorizeAttribute.DataWebAuthorizeFilter : IAuthorizationFilter, IFilterMetadata
    Remarks

    Initializes a new instance of the DataWebAuthorizeAttribute.DataWebAuthorizeFilter class with the specified response mode.

    Constructors

    DataWebAuthorizeFilter(ResponseMode)

    Represents an implementation of the IAuthorizationFilter interface.

    Declaration
    public DataWebAuthorizeFilter(DataWebAuthorizeAttribute.ResponseMode responseMode)
    Parameters
    Type Name Description
    DataWebAuthorizeAttribute.ResponseMode responseMode

    The DataWebAuthorizeAttribute.ResponseMode to use when the user is not authorized.

    Remarks

    Initializes a new instance of the DataWebAuthorizeAttribute.DataWebAuthorizeFilter class with the specified response mode.

    Methods

    OnAuthorization(AuthorizationFilterContext)

    Called when a user attempts to access a web API endpoint.

    Declaration
    public void OnAuthorization(AuthorizationFilterContext context)
    Parameters
    Type Name Description
    AuthorizationFilterContext context

    The AuthorizationFilterContext that represents the context for the current request.

    Implements

    IAuthorizationFilter
    IFilterMetadata
    In this article
    Back to top Generated by DocFX