support for logout notification
This commit is contained in:
parent
0b5b46b54c
commit
e4cac73174
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit bc198c60d1916600f3bfb6ec82dd900dc6bd0642
|
||||
Subproject commit 45da8aa9eb4dd7e12c9fa67ed09189bc4d5ed2f1
|
|
@ -130,7 +130,7 @@ export default class MainBackground {
|
|||
this.tokenService = new TokenService(this.storageService);
|
||||
this.appIdService = new AppIdService(this.storageService);
|
||||
this.apiService = new ApiService(this.tokenService, this.platformUtilsService,
|
||||
async (expired: boolean) => await this.logout(expired));
|
||||
(expired: boolean) => this.logout(expired));
|
||||
this.userService = new UserService(this.tokenService, this.storageService);
|
||||
this.settingsService = new SettingsService(this.userService, this.storageService);
|
||||
this.cipherService = new CipherService(this.cryptoService, this.userService, this.settingsService,
|
||||
|
@ -161,7 +161,7 @@ export default class MainBackground {
|
|||
this.auditService = new AuditService(cryptoFunctionService, this.apiService);
|
||||
this.exportService = new ExportService(this.folderService, this.cipherService, this.apiService);
|
||||
this.notificationsService = new NotificationsService(this.userService, this.syncService, this.appIdService,
|
||||
this.apiService, this.cryptoService);
|
||||
this.apiService, this.cryptoService, () => this.logout(true));
|
||||
this.environmentService = new EnvironmentService(this.apiService, this.storageService,
|
||||
this.notificationsService);
|
||||
this.analytics = new Analytics(window, () => BrowserApi.gaFilter(), this.platformUtilsService,
|
||||
|
|
Loading…
Reference in New Issue