AllowAnonymousAttribute AllowAnonymousAttribute AllowAnonymousAttribute Class

Definition

Specifies that the class or method that this attribute is applied to does not require authorization.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class AllowAnonymousAttribute : Attribute, Microsoft.AspNetCore.Authorization.IAllowAnonymous
type AllowAnonymousAttribute = class
    inherit Attribute
    interface IAllowAnonymous
Public Class AllowAnonymousAttribute
Inherits Attribute
Implements IAllowAnonymous
Inheritance
AllowAnonymousAttributeAllowAnonymousAttributeAllowAnonymousAttribute
Attributes
Implements

Constructors

AllowAnonymousAttribute() AllowAnonymousAttribute() AllowAnonymousAttribute()

Applies to