onCertificatesUpdateRequested property

EventStream<CertificatesUpdateRequest> get onCertificatesUpdateRequested

This event fires if the certificates set via setCertificates are insufficient or the browser requests updated information. The extension must call setCertificates with the updated list of certificates and the received certificatesRequestId.

Implementation

EventStream<CertificatesUpdateRequest> get onCertificatesUpdateRequested =>
    $js.chrome.certificateProvider.onCertificatesUpdateRequested
        .asStream(($c) => ($js.CertificatesUpdateRequest request) {
              return $c(CertificatesUpdateRequest.fromJS(request));
            });