AllowAnonymousAttribute Klasa

Definicja

Reprezentuje atrybut, który oznacza kontrolery i akcje, aby pominąć AuthorizeAttribute podczas autoryzacji.

[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
Dziedziczenie
AllowAnonymousAttribute
Atrybuty

Konstruktory

AllowAnonymousAttribute()

Inicjuje nowe wystąpienie klasy AllowAnonymousAttribute.

Dotyczy