Function createSandboxSecurityPolicy

  • Parameters

    • Optionalclearances: {
          allowedFilters?: string[];
          allowedFunctions?: string[];
          allowedMethods?: Map<any, string[]>;
          allowedProperties?: Map<any, string[]>;
          allowedTags?: string[];
      }
      • OptionalallowedFilters?: string[]
      • OptionalallowedFunctions?: string[]
      • OptionalallowedMethods?: Map<any, string[]>
      • OptionalallowedProperties?: Map<any, string[]>
      • OptionalallowedTags?: string[]

    Returns TwingSandboxSecurityPolicy