AllowAnonymousAttribute Třída

Definice

Určuje, že třída nebo metoda, na 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

Name Description
AllowAnonymousAttribute()

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

Metody

Name Description
ToString()

Vrátí řetězec, který představuje aktuální atribut.

Platí pro