onCreateRequest property

EventStream<CreateRequest> get onCreateRequest

Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateRequest() with the requestId from requestInfo.

Implementation

EventStream<CreateRequest> get onCreateRequest =>
    $js.chrome.webAuthenticationProxy.onCreateRequest
        .asStream(($c) => ($js.CreateRequest requestInfo) {
              return $c(CreateRequest.fromJS(requestInfo));
            });