Class ExtensionAuthorizeAttribute
Inheritance
System.Object
ExtensionAuthorizeAttribute
Implements
Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
Namespace: DirectScale.Disco.Extension.Middleware
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class ExtensionAuthorizeAttribute : Attribute, IAsyncAuthorizationFilter, IFilterMetadata
Constructors
ExtensionAuthorizeAttribute()
Declaration
public ExtensionAuthorizeAttribute()
Methods
OnAuthorizationAsync(AuthorizationFilterContext)
Declaration
public Task OnAuthorizationAsync(AuthorizationFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Mvc.Filters.AuthorizationFilterContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Implements
Microsoft.AspNetCore.Mvc.Filters.IAsyncAuthorizationFilter
Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata