Interface ExtensionOptions

interface ExtensionOptions {
    scope?: ExtensionScope;
    validateOrigin?: OriginValidator;
}

Properties

Scope of the extension. ReadWrite requires a validateOrigin to be specified.

validateOrigin?: OriginValidator

Function that designates a frame origin as trusted.