Skip to content

ElectronWebContents.on('select-client-certificate') method

ElectronWebContents › on(‘select-client-certificate’)

Unofficial

Registers a listener for the select-client-certificate event.

Signature:

on($event: "select-client-certificate", listener: ($event: ElectronEvent, url: string, certificateList: ElectronCertificate[], callback: (certificate: ElectronCertificate) => void) => void): this

Parameters:

ParameterTypeDescription
$event"select-client-certificate"
listener($event: ElectronEvent, url: string, certificateList: ElectronCertificate[], callback: (certificate: ElectronCertificate) => void) => voidCalled when the select-client-certificate event is emitted.

Returns: this — This web contents instance.