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(): Promise<Scope>
addMultipleAllowedDomainsToAnAccount(): Promise<Scope>
enableDisableOrClearExplicitCspSetting(): Promise<Scope>
getCurrentSettingsForAccountOrCourse(course_id: string, body?: unknown): Promise<Account>
lockOrUnlockCurrentCspSettingsForSubaccountsCourses(): Promise<Scope>
account_id: string,
body?: unknown,
removeDomainFromAccount(): Promise<Scope>
retrieveReportedCspViolationsForAccount(account_id: string, body?: unknown): Promise<Scope>