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:
@@ -33,6 +33,7 @@ export abstract class Fido2AuthenticatorService<ParentWindowReference> {
|
||||
params: Fido2AuthenticatorGetAssertionParams,
|
||||
window: ParentWindowReference,
|
||||
abortController?: AbortController,
|
||||
transactionContext?: ArrayBuffer,
|
||||
): Promise<Fido2AuthenticatorGetAssertionResult>;
|
||||
|
||||
/**
|
||||
|
||||
@@ -71,6 +71,7 @@ export abstract class Fido2UserInterfaceService<ParentWindowReference> {
|
||||
fallbackSupported: boolean,
|
||||
window: ParentWindowReference,
|
||||
abortController?: AbortController,
|
||||
transactionContext?: ArrayBuffer,
|
||||
): Promise<Fido2UserInterfaceSession>;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user