AllowAnonymousAttribute Klasa

Definicja

Określa, że klasa lub metoda, do którego zastosowano ten atrybut, nie wymaga autoryzacji.

public ref class AllowAnonymousAttribute : Attribute, Microsoft::AspNetCore::Authorization::IAllowAnonymous
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class AllowAnonymousAttribute : Attribute, Microsoft.AspNetCore.Authorization.IAllowAnonymous
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type AllowAnonymousAttribute = class
    inherit Attribute
    interface IAllowAnonymous
Public Class AllowAnonymousAttribute
Inherits Attribute
Implements IAllowAnonymous
Dziedziczenie
AllowAnonymousAttribute
Atrybuty
Implementuje

Konstruktory

AllowAnonymousAttribute()

Określa, że klasa lub metoda, do którego zastosowano ten atrybut, nie wymaga autoryzacji.

Metody

ToString()

Określa, że klasa lub metoda, do którego zastosowano ten atrybut, nie wymaga autoryzacji.

Dotyczy