Files
linux-packaging-mono/external/aspnetwebstack/src/System.Web.Mvc/AllowAnonymousAttribute.cs

14 lines
572 B
C#
Raw Normal View History

// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.Mvc
{
/// <summary>
/// Actions and controllers with the AllowAnonymous attribute are skipped by the Authorize attribute
/// on authorization. See AccountController.cs in the project template for an example.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class AllowAnonymousAttribute : Attribute
{
}
}