Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AllowAnonymousAttribute Class
Definition
- Namespace:
- Microsoft.AspNetCore.Authorization
- Assembly:
- Microsoft.AspNetCore.Authorization.dll
- Package:
- Microsoft.AspNetCore.Authorization v1.0.0
- Package:
- Microsoft.AspNetCore.Authorization v1.1.0
- Package:
- Microsoft.AspNetCore.Authorization v10.0.0
- Package:
- Microsoft.AspNetCore.Authorization v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Authorization v2.0.0
- Package:
- Microsoft.AspNetCore.Authorization v2.1.0
- Package:
- Microsoft.AspNetCore.Authorization v2.2.0
- Package:
- Microsoft.AspNetCore.Authorization v3.0.3
- Package:
- Microsoft.AspNetCore.Authorization v3.1.18
- Package:
- Microsoft.AspNetCore.Authorization v5.0.9
- Package:
- Microsoft.AspNetCore.Authorization v6.0.6
- Package:
- Microsoft.AspNetCore.Authorization v7.0.5
- Package:
- Microsoft.AspNetCore.Authorization v8.0.19
- Package:
- Microsoft.AspNetCore.Authorization v9.0.8
- Source:
- AllowAnonymousAttribute.cs
- Source:
- AllowAnonymousAttribute.cs
- Source:
- AllowAnonymousAttribute.cs
- Source:
- AllowAnonymousAttribute.cs
- Source:
- AllowAnonymousAttribute.cs
- Source:
- AllowAnonymousAttribute.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies that the class or method that this attribute is applied to does not require authorization.
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
- Inheritance
-
AllowAnonymousAttribute
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| AllowAnonymousAttribute() | |
Methods
| Name | Description |
|---|---|
| ToString() | System.Attribute.ToString |
Applies to
Feedback
Was this page helpful?
