tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsIWebAuthnPromise.idl (792B)


      1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include "nsISupports.idl"
      7 #include "nsIWebAuthnResult.idl"
      8 
      9 [rust_sync, uuid(3c969aec-e0e0-4aa4-9422-394b321e6918)]
     10 interface nsIWebAuthnRegisterPromise : nsISupports
     11 {
     12    [noscript] void resolve(in nsIWebAuthnRegisterResult aResult);
     13    [noscript] void reject(in nsresult error);
     14 };
     15 
     16 [rust_sync, uuid(35e35bdc-5369-4bfe-8d5c-bdf7b782b735)]
     17 interface nsIWebAuthnSignPromise : nsISupports
     18 {
     19    [noscript] void resolve(in nsIWebAuthnSignResult aResult);
     20    [noscript] void reject(in nsresult error);
     21 };