mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 06:54:07 +00:00
autofill mock
This commit is contained in:
@@ -100,7 +100,24 @@ export class DesktopAutofillService implements OnDestroy {
|
||||
type: "fido2",
|
||||
...credential,
|
||||
}));
|
||||
|
||||
|
||||
// Mock a couple of passkeys for testing purposes
|
||||
fido2Credentials.push({
|
||||
type: "fido2",
|
||||
cipherId: "mock-cipher-id-1",
|
||||
credentialId: "passkey1",
|
||||
rpId: "webauthn.io",
|
||||
userHandle: "passkey1",
|
||||
userName: "Mock passkey1",
|
||||
});
|
||||
fido2Credentials.push({
|
||||
type: "fido2",
|
||||
cipherId: "mock-cipher-id-2",
|
||||
credentialId: "passkey2",
|
||||
rpId: "webauthn.io",
|
||||
userHandle: "passkey2",
|
||||
userName: "Mock passkey2",
|
||||
});
|
||||
|
||||
this.logService.info("Found FIDO2 credentials", fido2Credentials.length);
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "@bitwarden/desktop",
|
||||
"productName": "Bitwarden",
|
||||
"description": "A secure and free password manager for all of your devices.",
|
||||
"version": "2025.6.17",
|
||||
"version": "2025.6.19",
|
||||
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
||||
"homepage": "https://bitwarden.com",
|
||||
"license": "GPL-3.0",
|
||||
@@ -15,3 +15,4 @@
|
||||
"@bitwarden/desktop-napi": "file:../desktop_native/napi"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user