mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-25 19:38:37 +08:00
21 lines
666 B
C#
21 lines
666 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Security;
|
|
using mRemoteNG.Credential.Repositories;
|
|
using mRemoteNG.Tools.CustomCollections;
|
|
|
|
|
|
namespace mRemoteNG.Credential
|
|
{
|
|
public interface ICredentialRepository
|
|
{
|
|
ICredentialRepositoryConfig Config { get; }
|
|
IList<ICredentialRecord> CredentialRecords { get; }
|
|
bool IsLoaded { get; }
|
|
void LoadCredentials(SecureString key);
|
|
void SaveCredentials(SecureString key);
|
|
void UnloadCredentials();
|
|
event EventHandler RepositoryConfigUpdated;
|
|
event EventHandler<CollectionUpdatedEventArgs<ICredentialRecord>> CredentialsUpdated;
|
|
}
|
|
} |