Skip to main content

Interface: InstallConsentRequest

Defined in: Extensions/IExtensionHost.ts:173

Pending install consent the host needs the user to approve before proceeding. Surfaced through the renderer's ExtensionPermissionPrompt component.

Properties

manifest

manifest: ExtensionManifest

Defined in: Extensions/IExtensionHost.ts:174


networkHosts

networkHosts: object[]

Defined in: Extensions/IExtensionHost.ts:180

Hosts the extension will be allowed to reach over the network.

host

host: string

purpose

purpose: LocalizedString


requestedPermissions

requestedPermissions: ExtensionPermission[]

Defined in: Extensions/IExtensionHost.ts:176

Permissions that will be requested at install time.


separatelyPrompted

separatelyPrompted: ExtensionPermission[]

Defined in: Extensions/IExtensionHost.ts:178

Permissions in requestedPermissions that warrant a separate detail dialog.


signaturePublicKey?

optional signaturePublicKey?: string

Defined in: Extensions/IExtensionHost.ts:193

Hex-encoded signing key when the package carries an intact signature. Present even for the untrusted tier (a self-signed package has a valid signature from an unknown key), which lets the dialog say "signed by an unrecognised publisher" instead of the flatly wrong "unsigned".


trustTier?

optional trustTier?: ExtensionTrustTier

Defined in: Extensions/IExtensionHost.ts:186

Provenance of the package about to be installed, so the dialog can lead with an "untrusted" warning rather than presenting every extension as equally vouched-for. Derived from the source directory before the copy.