Reworked encryption to use less heap allocated buffers for secrets.
Also some work on plugin system.
This commit is contained in:
parent
8782ef39c6
commit
054754f553
42 changed files with 1452 additions and 242 deletions
18
IdentityShroud.Core/Plugins/PluginRegistry.cs
Normal file
18
IdentityShroud.Core/Plugins/PluginRegistry.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using System.Collections.ObjectModel;
|
||||
using IdentityShroud.PluginSupport;
|
||||
|
||||
namespace IdentityShroud.Core.Plugins;
|
||||
|
||||
/// <summary>
|
||||
/// Note
|
||||
/// </summary>
|
||||
/// <typeparam name="TPlugin"></typeparam>
|
||||
public class PluginRegistry<TPlugin> where TPlugin : IPlugin
|
||||
{
|
||||
private ReadOnlyDictionary<string, TPlugin> _plugins;
|
||||
|
||||
public PluginRegistry(ReadOnlyDictionary<string, TPlugin> plugins)
|
||||
{
|
||||
_plugins = plugins;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue