1
0
mirror of https://github.com/bitwarden/browser synced 2025-01-22 17:22:56 +01:00
bitwarden-estensione-browser/libs/common/src/abstractions/vaultTimeout/vaultTimeout.service.ts
Daniel James Smith 25207c2858
Extract settings related methods into VaultTimeoutSettingsService (#3419)
* Extract into new VaultTimeoutSettingsService

* Ensure new service is instantiated and registered for DI

* Create vaultTimeoutSettingsServiceFactory

* Fix VaultTimeoutServiceFactory

* Remove any and use void instead
2022-08-30 22:30:43 +02:00

6 lines
178 B
TypeScript

export abstract class VaultTimeoutService {
checkVaultTimeout: () => Promise<void>;
lock: (userId?: string) => Promise<void>;
logOut: (userId?: string) => Promise<void>;
}