Quasar/Quasar.Client/Recovery/IPassReader.cs

23 lines
605 B
C#
Raw Permalink Normal View History

2020-05-31 09:53:14 +00:00
using Quasar.Common.Models;
using System.Collections.Generic;
namespace Quasar.Client.Recovery
{
/// <summary>
/// Provides a common way to read stored accounts from applications.
/// </summary>
public interface IAccountReader
{
/// <summary>
/// Reads the stored accounts of the application.
/// </summary>
/// <returns>A list of recovered accounts</returns>
IEnumerable<RecoveredAccount> ReadAccounts();
/// <summary>
/// The name of the application.
/// </summary>
string ApplicationName { get; }
}
}