mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-21 21:11:35 +01:00
logout async
This commit is contained in:
parent
42ff83c2d3
commit
be8e372e00
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit 7112911cb89bcf9bf9b9de32cb05ec2d3f78e3fc
|
Subproject commit 799c90af1702c681874cb8fce8f8adcf1049d0c8
|
@ -80,7 +80,7 @@ const cryptoService = new CryptoService(storageService, secureStorageService, cr
|
|||||||
const tokenService = new TokenService(storageService);
|
const tokenService = new TokenService(storageService);
|
||||||
const appIdService = new AppIdService(storageService);
|
const appIdService = new AppIdService(storageService);
|
||||||
const apiService = new ApiService(tokenService, platformUtilsService,
|
const apiService = new ApiService(tokenService, platformUtilsService,
|
||||||
(expired: boolean) => messagingService.send('logout', { expired: expired }));
|
async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
||||||
const environmentService = new EnvironmentService(apiService, storageService);
|
const environmentService = new EnvironmentService(apiService, storageService);
|
||||||
const userService = new UserService(tokenService, storageService);
|
const userService = new UserService(tokenService, storageService);
|
||||||
const settingsService = new SettingsService(userService, storageService);
|
const settingsService = new SettingsService(userService, storageService);
|
||||||
@ -92,8 +92,8 @@ const collectionService = new CollectionService(cryptoService, userService, stor
|
|||||||
const lockService = new LockService(cipherService, folderService, collectionService,
|
const lockService = new LockService(cipherService, folderService, collectionService,
|
||||||
cryptoService, platformUtilsService, storageService, messagingService, () => { /* do nothing */ });
|
cryptoService, platformUtilsService, storageService, messagingService, () => { /* do nothing */ });
|
||||||
const syncService = new SyncService(userService, apiService, settingsService,
|
const syncService = new SyncService(userService, apiService, settingsService,
|
||||||
folderService, cipherService, cryptoService, collectionService,
|
folderService, cipherService, cryptoService, collectionService, storageService, messagingService,
|
||||||
storageService, messagingService, (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
async (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
||||||
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
||||||
const totpService = new TotpService(storageService, cryptoFunctionService);
|
const totpService = new TotpService(storageService, cryptoFunctionService);
|
||||||
const containerService = new ContainerService(cryptoService, platformUtilsService);
|
const containerService = new ContainerService(cryptoService, platformUtilsService);
|
||||||
|
Loading…
Reference in New Issue
Block a user