AllowAnonymousAttribute Třída

Definice

Určuje, že třída nebo metoda, pro kterou je tento atribut použit, nevyžaduje autorizaci.

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

Konstruktory

AllowAnonymousAttribute()

Určuje, že třída nebo metoda, pro kterou je tento atribut použit, nevyžaduje autorizaci.

Metody

ToString()

Určuje, že třída nebo metoda, pro kterou je tento atribut použit, nevyžaduje autorizaci.

Platí pro