Interface TwingSandboxSecurityPolicy

interface TwingSandboxSecurityPolicy {
    checkMethodAllowed(candidate, method): void;
    checkPropertyAllowed(candidate, property): void;
    checkSecurity(tags, filters, functions): void;
}

Methods

  • Parameters

    • candidate: any
    • property: string

    Returns void

    Throws

    TwingSandboxSecurityNotAllowedPropertyError When the property is not allowed on the passed object

Generated using TypeDoc