mirror of
https://github.com/KeyKeeperApp/KeyKeeper.git
synced 2026-04-21 03:56:28 +03:00
create basic password store interface
This commit is contained in:
7
src/KeyKeeper/PasswordStore/IPassStore.cs
Normal file
7
src/KeyKeeper/PasswordStore/IPassStore.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace KeyKeeper.PasswordStore;
|
||||
|
||||
interface IPassStore
|
||||
{
|
||||
IPassStoreDirectory GetRootDirectory();
|
||||
int GetTotalEntryCount();
|
||||
}
|
||||
7
src/KeyKeeper/PasswordStore/IPassStoreDirectory.cs
Normal file
7
src/KeyKeeper/PasswordStore/IPassStoreDirectory.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace KeyKeeper.PasswordStore;
|
||||
|
||||
interface IPassStoreDirectory : IEnumerable<IPassStoreEntry>
|
||||
{
|
||||
}
|
||||
10
src/KeyKeeper/PasswordStore/IPassStoreEntry.cs
Normal file
10
src/KeyKeeper/PasswordStore/IPassStoreEntry.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace KeyKeeper.PasswordStore;
|
||||
|
||||
interface IPassStoreEntry
|
||||
{
|
||||
string Name { get; set; }
|
||||
PassStoreEntryType Type { get; set; }
|
||||
DateTime CreationDate { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user