DataWeb
Search Results for

    Show / Hide Table of Contents

    Class NavigationAuthorizeAttribute.NavigationAuthorizeFilter

    A filter for checking navigation authorization.

    Inheritance
    object
    NavigationAuthorizeAttribute.NavigationAuthorizeFilter
    Implements
    IAsyncAuthorizationFilter
    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 NavigationAuthorizeAttribute.NavigationAuthorizeFilter : IAsyncAuthorizationFilter, IFilterMetadata
    Remarks

    Initializes a new instance of the NavigationAuthorizeAttribute.NavigationAuthorizeFilter class.

    Constructors

    NavigationAuthorizeFilter(ResponseMode, ResponseErrorCode)

    A filter for checking navigation authorization.

    Declaration
    public NavigationAuthorizeFilter(NavigationAuthorizeAttribute.ResponseMode responseMode, NavigationAuthorizeAttribute.ResponseErrorCode responseErrorCode)
    Parameters
    Type Name Description
    NavigationAuthorizeAttribute.ResponseMode responseMode

    The response mode of the filter.

    NavigationAuthorizeAttribute.ResponseErrorCode responseErrorCode

    The response mode of the filter.

    Remarks

    Initializes a new instance of the NavigationAuthorizeAttribute.NavigationAuthorizeFilter class.

    Methods

    OnAuthorizationAsync(AuthorizationFilterContext)

    Called asynchronously to perform authorization for the specified context.

    Declaration
    public Task OnAuthorizationAsync(AuthorizationFilterContext context)
    Parameters
    Type Name Description
    AuthorizationFilterContext context

    The AuthorizationFilterContext.

    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    Implements

    IAsyncAuthorizationFilter
    IFilterMetadata
    In this article
    Back to top Generated by DocFX