|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace App.Utilities.Web.Handlers
{
/// <summary>
/// Use this attribute to decorate the handler methods that need explicit authentication configuration.
/// If this attibute is set to true it will validate if the user is authenticated.
/// </summary>
public class RequireAuthenticationAttribute : Attribute
{
public readonly bool RequireAuthentication = false;
public RequireAuthenticationAttribute(bool value)
{
RequireAuthentication = value;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.