mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 04:26:49 +00:00
parent
babc3e4f1a
commit
2787c7fc52
5 changed files with 95 additions and 85 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
namespace PepperDash.Essentials.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// All ISecrecretProvider classes must implement this interface.
|
||||
/// </summary>
|
||||
public interface ISecretProvider : IKeyed
|
||||
{
|
||||
void SetSecret(string key, object value);
|
||||
|
|
@ -9,6 +12,9 @@ namespace PepperDash.Essentials.Core
|
|||
ISecret GetSecret(string key);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// interface for delivering secrets in Essentials.
|
||||
/// </summary>
|
||||
public interface ISecret
|
||||
{
|
||||
ISecretProvider Provider { get; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue