mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Revert "[PM-6296] Fix biometrics error prompt when biometrics are temporarily…" (#10373)
This reverts commit 1184c504d1.
This commit is contained in:
@@ -43,6 +43,8 @@ export abstract class PlatformUtilsService {
|
||||
abstract isSelfHost(): boolean;
|
||||
abstract copyToClipboard(text: string, options?: ClipboardOptions): void | boolean;
|
||||
abstract readFromClipboard(): Promise<string>;
|
||||
abstract supportsBiometric(): Promise<boolean>;
|
||||
abstract authenticateBiometric(): Promise<boolean>;
|
||||
abstract supportsSecureStorage(): boolean;
|
||||
abstract getAutofillKeyboardShortcut(): Promise<string>;
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
* The biometrics service is used to provide access to the status of and access to biometric functionality on the platforms.
|
||||
*/
|
||||
export abstract class BiometricsService {
|
||||
/**
|
||||
* Check if the platform supports biometric authentication.
|
||||
*/
|
||||
abstract supportsBiometric(): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Checks whether biometric unlock is currently available at the moment (e.g. if the laptop lid is shut, biometric unlock may not be available)
|
||||
*/
|
||||
abstract isBiometricUnlockAvailable(): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Performs biometric authentication
|
||||
*/
|
||||
abstract authenticateBiometric(): Promise<boolean>;
|
||||
}
|
||||
Reference in New Issue
Block a user