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

AllowAnonymousAttribute()

Platí pro