mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 15:23:35 +00:00
15 lines
391 B
C#
15 lines
391 B
C#
using System.Threading.Tasks;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.App.Abstractions
|
|
{
|
|
public interface IPasswordRepromptService
|
|
{
|
|
string[] ProtectedFields { get; }
|
|
|
|
Task<bool> PromptAndCheckPasswordIfNeededAsync(CipherRepromptType repromptType = CipherRepromptType.Password);
|
|
|
|
Task<(string password, bool valid)> ShowPasswordPromptAndGetItAsync();
|
|
}
|
|
}
|