// 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
{
///
/// Sets the 'allow-forms' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowForms();
///
/// Sets the 'allow-pointer-lock' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowPointerLock();
///
/// Sets the 'allow-popups' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowPopups();
///
/// Sets the 'allow-same-origin' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowSameOrigin();
///
/// Sets the 'allow-scripts' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowScripts();
///
/// Sets the 'allow-top-navigation' source for the CSP sandbox directive.
///
IFluentCspSandboxDirective AllowTopNavigation();
}
}