Class CompositionRootExtensions
Static class that adds convenient methods to add the concrete implementations contained in this library.
Inheritance
System.Object
CompositionRootExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Security
Assembly: Fibula.Security.dll
Syntax
public static class CompositionRootExtensions
Methods
| Improve this Doc View SourceAddLocalPemFileRsaDecryptor(IServiceCollection, IConfiguration)
Adds the LocalPemFileRsaDecryptor contained in this library to the services collection. It aslo configures the options required by it: LocalPemFileRsaDecryptorOptions.
Declaration
public static void AddLocalPemFileRsaDecryptor(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The services collection. |
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration loaded. |
AddSimpleDosDefender(IServiceCollection, IConfiguration)
Adds the SimpleDosDefender contained in this library to the services collection. It aslo configures the options required by it: SimpleDosDefenderOptions.
Declaration
public static void AddSimpleDosDefender(this IServiceCollection services, IConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | services | The services collection. |
Microsoft.Extensions.Configuration.IConfiguration | configuration | The configuration loaded. |