AllowAnonymousAttribute Klasse

Definition

Gibt an, dass die Klasse oder Methode, auf die bzw. die dieses Attribut angewendet wird, keine Autorisierung erfordert.

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
Vererbung
AllowAnonymousAttribute
Attribute
Implementiert

Konstruktoren

AllowAnonymousAttribute()

Gibt an, dass die Klasse oder Methode, auf die bzw. die dieses Attribut angewendet wird, keine Autorisierung erfordert.

Methoden

ToString()

Gibt an, dass die Klasse oder Methode, auf die bzw. die dieses Attribut angewendet wird, keine Autorisierung erfordert.

Gilt für: