mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-02 03:41:09 +01:00
Support biometric changes in jslib (#571)
This commit is contained in:
parent
f1dea8fb1a
commit
78992444bf
@ -118,7 +118,7 @@ const passwordGenerationService = new PasswordGenerationService(cryptoService, s
|
|||||||
const totpService = new TotpService(storageService, cryptoFunctionService);
|
const totpService = new TotpService(storageService, cryptoFunctionService);
|
||||||
const containerService = new ContainerService(cryptoService);
|
const containerService = new ContainerService(cryptoService);
|
||||||
const authService = new AuthService(cryptoService, apiService,
|
const authService = new AuthService(cryptoService, apiService,
|
||||||
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService);
|
userService, tokenService, appIdService, i18nService, platformUtilsService, messagingService, vaultTimeoutService);
|
||||||
const exportService = new ExportService(folderService, cipherService, apiService);
|
const exportService = new ExportService(folderService, cipherService, apiService);
|
||||||
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService);
|
const importService = new ImportService(cipherService, folderService, apiService, i18nService, collectionService);
|
||||||
const notificationsService = new NotificationsService(userService, syncService, appIdService,
|
const notificationsService = new NotificationsService(userService, syncService, appIdService,
|
||||||
|
@ -273,4 +273,12 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
|||||||
readFromClipboard(options?: any): Promise<string> {
|
readFromClipboard(options?: any): Promise<string> {
|
||||||
throw new Error('Cannot read from clipboard on web.');
|
throw new Error('Cannot read from clipboard on web.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
supportsBiometric() {
|
||||||
|
return Promise.resolve(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
authenticateBiometric() {
|
||||||
|
return Promise.resolve(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user