mirror of
https://github.com/bitwarden/android.git
synced 2026-05-23 14:41:59 -05: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();
|
|
}
|
|
}
|