1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Support biometric changes in jslib (#571)

This commit is contained in:
Oscar Hinton
2020-07-24 20:39:39 +02:00
committed by GitHub
parent f1dea8fb1a
commit 78992444bf
2 changed files with 9 additions and 1 deletions

View File

@@ -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,

View File

@@ -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);
}
} }