Skip to main content
Latest
class ContentSecurityPolicySettings
extends BaseApi
import { ContentSecurityPolicySettings } from "https://deno.land/x/gesso@v0.1.2/src/ContentSecurityPolicySettings.ts";

Constructors

new
ContentSecurityPolicySettings(config: Configuration)

Methods

addAnAllowedDomainToAccount(
account_id: string,
body?: unknown,
): Promise<Scope>
addMultipleAllowedDomainsToAnAccount(
account_id: string,
body?: unknown,
): Promise<Scope>
getCurrentSettingsForAccountOrCourse(course_id: string, body?: unknown): Promise<Account>
removeDomainFromAccount(
account_id: string,
body?: unknown,
): Promise<Scope>
retrieveReportedCspViolationsForAccount(account_id: string, body?: unknown): Promise<Scope>