summaryrefslogtreecommitdiffstats
path: root/dom/webauthn/nsIWebAuthnService.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /dom/webauthn/nsIWebAuthnService.idl
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/webauthn/nsIWebAuthnService.idl')
-rw-r--r--dom/webauthn/nsIWebAuthnService.idl20
1 files changed, 11 insertions, 9 deletions
diff --git a/dom/webauthn/nsIWebAuthnService.idl b/dom/webauthn/nsIWebAuthnService.idl
index 6525508057..f2993a9e47 100644
--- a/dom/webauthn/nsIWebAuthnService.idl
+++ b/dom/webauthn/nsIWebAuthnService.idl
@@ -11,7 +11,7 @@
interface nsICredentialParameters : nsISupports
{
readonly attribute ACString credentialId;
- readonly attribute bool isResidentCredential;
+ readonly attribute boolean isResidentCredential;
readonly attribute ACString rpId;
readonly attribute ACString privateKey;
readonly attribute ACString userHandle;
@@ -37,14 +37,16 @@ interface nsIWebAuthnAutoFillEntry: nsISupports
interface nsIWebAuthnService : nsISupports
{
// IsUserVerifyingPlatformAuthenticatorAvailable
- readonly attribute bool isUVPAA;
+ readonly attribute boolean isUVPAA;
+ [noscript]
void makeCredential(
in uint64_t aTransactionId,
in uint64_t browsingContextId,
in nsIWebAuthnRegisterArgs args,
in nsIWebAuthnRegisterPromise promise);
+ [noscript]
void getAssertion(
in uint64_t aTransactionId,
in uint64_t browsingContextId,
@@ -83,7 +85,7 @@ interface nsIWebAuthnService : nsISupports
void resumeConditionalGet(in uint64_t aTransactionId);
void pinCallback(in uint64_t aTransactionId, in ACString aPin);
- void resumeMakeCredential(in uint64_t aTransactionId, in bool aForceNoneAttestation);
+ void setHasAttestationConsent(in uint64_t aTransactionId, in boolean aHasConsent);
void selectionCallback(in uint64_t aTransactionId, in uint64_t aIndex);
// Adds a virtual (software) authenticator for use in tests (particularly
@@ -92,10 +94,10 @@ interface nsIWebAuthnService : nsISupports
uint64_t addVirtualAuthenticator(
in ACString protocol,
in ACString transport,
- in bool hasResidentKey,
- in bool hasUserVerification,
- in bool isUserConsenting,
- in bool isUserVerified);
+ in boolean hasResidentKey,
+ in boolean hasUserVerification,
+ in boolean isUserConsenting,
+ in boolean isUserVerified);
// Removes a previously-added virtual authenticator, as identified by its
// id. See
@@ -107,7 +109,7 @@ interface nsIWebAuthnService : nsISupports
void addCredential(
in uint64_t authenticatorId,
in ACString credentialId,
- in bool isResidentCredential,
+ in boolean isResidentCredential,
in ACString rpId,
in ACString privateKey,
in ACString userHandle,
@@ -127,7 +129,7 @@ interface nsIWebAuthnService : nsISupports
// Sets the "isUserVerified" bit on a virtual authenticator. See
// https://w3c.github.io/webauthn/#sctn-automation-set-user-verified
- void setUserVerified(in uint64_t authenticatorId, in bool isUserVerified);
+ void setUserVerified(in uint64_t authenticatorId, in boolean isUserVerified);
// about:webauthn-specific functions
void listen();