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:

Parameter Type Description
event "select-client-certificate" The event name.
listener (event: ElectronEvent, url: string, certificateList: ElectronCertificate[], callback: (certificate: ElectronCertificate) => void) => void Called when the select-client-certificate event is emitted.

Returns: thisThis web contents instance.