mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
logout callbacks implemented
This commit is contained in:
@@ -82,7 +82,7 @@ const cryptoService = new CryptoService(storageService, secureStorageService);
|
|||||||
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) => { /* log out */ });
|
(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);
|
||||||
@@ -95,7 +95,7 @@ const lockService = new LockService(cipherService, folderService, collectionServ
|
|||||||
cryptoService, platformUtilsService, storageService, messagingService);
|
cryptoService, platformUtilsService, storageService, messagingService);
|
||||||
const syncService = new SyncService(userService, apiService, settingsService,
|
const syncService = new SyncService(userService, apiService, settingsService,
|
||||||
folderService, cipherService, cryptoService, collectionService,
|
folderService, cipherService, cryptoService, collectionService,
|
||||||
storageService, messagingService, (expired: boolean) => { /* log out */ });
|
storageService, messagingService, (expired: boolean) => messagingService.send('logout', { expired: expired }));
|
||||||
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
const passwordGenerationService = new PasswordGenerationService(cryptoService, storageService);
|
||||||
const totpService = new TotpService(storageService);
|
const totpService = new TotpService(storageService);
|
||||||
const containerService = new ContainerService(cryptoService, platformUtilsService);
|
const containerService = new ContainerService(cryptoService, platformUtilsService);
|
||||||
|
|||||||
Reference in New Issue
Block a user