Class DataWebAuthorizeAttribute
Represents an attribute that is used to authorize access to a web API endpoint.
Inherited Members
Namespace: DataWeb.Filter
Assembly: DataWeb.Core.dll
Syntax
public sealed class DataWebAuthorizeAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
DataWebAuthorizeAttribute(ResponseMode)
The response mode of the attribute. Can be either StatusCode or Redirect.
Declaration
public DataWebAuthorizeAttribute(DataWebAuthorizeAttribute.ResponseMode responseMode = ResponseMode.StatusCode)
Parameters
Type | Name | Description |
---|---|---|
DataWebAuthorizeAttribute.ResponseMode | responseMode |
Remarks
Uses DataWebAuthorizeAttribute.ResponseMode enum.