1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-06 02:23:57 +00:00

lock service

This commit is contained in:
Kyle Spearrin
2019-05-15 14:22:28 -04:00
parent 8ab632e207
commit 954de743f5
3 changed files with 158 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Threading.Tasks;
namespace Bit.Core.Abstractions
{
public interface ILockService
{
bool PinLocked { get; set; }
Task CheckLockAsync();
Task ClearAsync();
Task<bool> IsLockedAsync();
Task<Tuple<bool, bool>> IsPinLockSetAsync();
Task LockAsync(bool allowSoftLock = false);
Task SetLockOptionAsync(int lockOption);
}
}