Versatile OpenID Connect stack for ASP.NET Core and Microsoft.Owin (compatible with ASP.NET 4.6.1)
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.
 
 
 
 
 
 

39 lines
1.3 KiB

// Copyright (c) André N. Klingsheim. See License.txt in the project root for license information.
using NWebsec.Core.Fluent;
namespace NWebsec.Middleware
{
public interface IFluentCspSandboxDirective : IFluentInterface
{
/// <summary>
/// Sets the 'allow-forms' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowForms();
/// <summary>
/// Sets the 'allow-pointer-lock' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowPointerLock();
/// <summary>
/// Sets the 'allow-popups' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowPopups();
/// <summary>
/// Sets the 'allow-same-origin' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowSameOrigin();
/// <summary>
/// Sets the 'allow-scripts' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowScripts();
/// <summary>
/// Sets the 'allow-top-navigation' source for the CSP sandbox directive.
/// </summary>
IFluentCspSandboxDirective AllowTopNavigation();
}
}