View Source
Class UmbracoMemberAuthorizeFilter
Ensures authorization is successful for a front-end member
Inheritance
System.Object
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