public ContentSecurityPolicyMiddleware( RequestDelegate next, ContentSecurityPolicyOptions contentSecurityPolicyOptions ) { _next = next; _handleHeader = new HandleHeader(contentSecurityPolicyOptions); }
public ContentSecurityPolicyOptionsDecorator(ContentSecurityPolicyOptions option) { this.Option = option; }
public static void UseContentSecurityPolicy(this IAppBuilder app, ContentSecurityPolicyOptions options) { app.Use <ContentSecurityPolicy>(options); }