Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoMemberAuthorizeFilter

    Ensures authorization is successful for a front-end member

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.Filters
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoMemberAuthorizeFilter : IAsyncAuthorizationFilter, IFilterMetadata

    Constructors

    View Source

    UmbracoMemberAuthorizeFilter()

    Declaration
    public UmbracoMemberAuthorizeFilter()
    View Source

    UmbracoMemberAuthorizeFilter(String, String, String)

    Declaration
    public UmbracoMemberAuthorizeFilter(string allowType, string allowGroup, string allowMembers)
    Parameters
    Type Name Description
    System.String allowType
    System.String allowGroup
    System.String allowMembers

    Properties

    View Source

    AllowGroup

    Comma delimited list of allowed member groups

    Declaration
    public string AllowGroup { get; }
    Property Value
    Type Description
    System.String
    View Source

    AllowMembers

    Comma delimited list of allowed members

    Declaration
    public string AllowMembers { get; }
    Property Value
    Type Description
    System.String
    View Source

    AllowType

    Comma delimited list of allowed member types

    Declaration
    public string AllowType { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    OnAuthorizationAsync(AuthorizationFilterContext)

    Declaration
    public async Task OnAuthorizationAsync(AuthorizationFilterContext context)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext context
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoMemberAuthorizeFilter()
      • UmbracoMemberAuthorizeFilter(String, String, String)
    • Properties
      • AllowGroup
      • AllowMembers
      • AllowType
    • Methods
      • OnAuthorizationAsync(AuthorizationFilterContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX