1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-21 03:43:58 +00:00

First pass at user verification

This commit is contained in:
Isaiah Inuwa
2025-11-10 21:55:28 -06:00
parent b7b381e63e
commit 441f6540fe
17 changed files with 198 additions and 177 deletions

View File

@@ -33,6 +33,7 @@ export abstract class Fido2AuthenticatorService<ParentWindowReference> {
params: Fido2AuthenticatorGetAssertionParams,
window: ParentWindowReference,
abortController?: AbortController,
transactionContext?: ArrayBuffer,
): Promise<Fido2AuthenticatorGetAssertionResult>;
/**

View File

@@ -71,6 +71,7 @@ export abstract class Fido2UserInterfaceService<ParentWindowReference> {
fallbackSupported: boolean,
window: ParentWindowReference,
abortController?: AbortController,
transactionContext?: ArrayBuffer,
): Promise<Fido2UserInterfaceSession>;
}

View File

@@ -230,11 +230,13 @@ export class Fido2AuthenticatorService<ParentWindowReference>
params: Fido2AuthenticatorGetAssertionParams,
window: ParentWindowReference,
abortController?: AbortController,
transactionContext?: ArrayBuffer,
): Promise<Fido2AuthenticatorGetAssertionResult> {
const userInterfaceSession = await this.userInterface.newSession(
params.fallbackSupported,
window,
abortController,
transactionContext,
);
try {
if (