Class AllowAnonymousAttribute
Represents an attribute that marks controllers and actions to skip the AuthorizeAttribute during authorization.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class AllowAnonymousAttribute : Attribute
- Inheritance
-
AllowAnonymousAttribute
- Inherited Members
Constructors
AllowAnonymousAttribute()
Initializes a new instance of the AllowAnonymousAttribute class.
public AllowAnonymousAttribute()