1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

soft locking with protected pin

This commit is contained in:
Kyle Spearrin
2019-02-13 21:36:36 -05:00
parent 76c53bc641
commit 0bdbfd7984
6 changed files with 79 additions and 20 deletions

View File

@@ -1,6 +1,9 @@
export abstract class LockService {
pinLocked: boolean;
isLocked: () => Promise<boolean>;
checkLock: () => Promise<void>;
lock: () => Promise<void>;
lock: (allowSoftLock?: boolean) => Promise<void>;
setLockOption: (lockOption: number) => Promise<void>;
isPinLockSet: () => Promise<boolean>;
isPinLockSet: () => Promise<[boolean, boolean]>;
clear: () => Promise<any>;
}