mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
* Remove cast to any as Utils.gobal got typed with #3131 * BitwardenFileUploadService: Remove unneeded dependency * Remove allowSoftLock from vaultTimeoutService * ImportService: Remove dependency on PlatformUtilsSvc
11 lines
456 B
TypeScript
11 lines
456 B
TypeScript
export abstract class VaultTimeoutService {
|
|
checkVaultTimeout: () => Promise<void>;
|
|
lock: (userId?: string) => Promise<void>;
|
|
logOut: (userId?: string) => Promise<void>;
|
|
setVaultTimeoutOptions: (vaultTimeout: number, vaultTimeoutAction: string) => Promise<void>;
|
|
getVaultTimeout: () => Promise<number>;
|
|
isPinLockSet: () => Promise<[boolean, boolean]>;
|
|
isBiometricLockSet: () => Promise<boolean>;
|
|
clear: (userId?: string) => Promise<any>;
|
|
}
|