mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 02:23:57 +00:00
lock service
This commit is contained in:
17
src/Core/Abstractions/ILockService.cs
Normal file
17
src/Core/Abstractions/ILockService.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user