You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
566 B
22 lines
566 B
// Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
|
|
|
|
using NWebsec.Core.Fluent;
|
|
|
|
namespace NWebsec.Middleware
|
|
{
|
|
/// <summary>
|
|
/// Fluent interface to configure options for X-Frame-Options.
|
|
/// </summary>
|
|
public interface IFluentXFrameOptions : IFluentInterface
|
|
{
|
|
/// <summary>
|
|
/// Enables the Deny directive.
|
|
/// </summary>
|
|
void Deny();
|
|
|
|
/// <summary>
|
|
/// Enables the SameOrigin directive.
|
|
/// </summary>
|
|
void SameOrigin();
|
|
}
|
|
}
|