AllowAnonymousAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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() |