mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 21:23:46 +00:00
19 lines
509 B
C#
19 lines
509 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.Core.Abstractions
|
|
{
|
|
public interface ILockService
|
|
{
|
|
bool PinLocked { get; set; }
|
|
bool FingerprintLocked { get; set; }
|
|
|
|
Task CheckLockAsync();
|
|
Task ClearAsync();
|
|
Task<bool> IsLockedAsync();
|
|
Task<Tuple<bool, bool>> IsPinLockSetAsync();
|
|
Task<bool> IsFingerprintLockSetAsync();
|
|
Task LockAsync(bool allowSoftLock = false);
|
|
Task SetLockOptionAsync(int? lockOption);
|
|
}
|
|
} |