Sdílet prostřednictvím


AllowAnonymousAttribute Třída

Definice

Představuje atribut, který označuje kontrolery a akce, které se mají přeskočit AuthorizeAttribute během autorizace.

[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
Dědičnost
AllowAnonymousAttribute
Atributy

Konstruktory

AllowAnonymousAttribute()

Inicializuje novou instanci AllowAnonymousAttribute třídy.

Platí pro