AllowAnonymousAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an attribute that marks controllers and actions to skip the AuthorizeAttribute during authorization.
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class AllowAnonymousAttribute : Attribute
type AllowAnonymousAttribute = class
inherit Attribute
Public NotInheritable Class AllowAnonymousAttribute
Inherits Attribute
- Inheritance
-
AllowAnonymousAttribute
- Attributes
Constructors
AllowAnonymousAttribute() |
Initializes a new instance of the AllowAnonymousAttribute class. |