NanoByte.Common 2.10.6
NanoByte.Common.Net.ConfigurationCredentialProviderRegistration Class Reference

Provides extension methods for registering ConfigurationCredentialProvider instances. More...

Static Public Member Functions

static IServiceCollection ConfigureCredentials (this IServiceCollection services, IConfiguration configuration)
 Registers an ICredentialProvider with credentials from IConfiguration. More...
 

Detailed Description

Provides extension methods for registering ConfigurationCredentialProvider instances.

Member Function Documentation

◆ ConfigureCredentials()

static IServiceCollection NanoByte.Common.Net.ConfigurationCredentialProviderRegistration.ConfigureCredentials ( this IServiceCollection  services,
IConfiguration  configuration 
)
static

Registers an ICredentialProvider with credentials from IConfiguration.

Parameters
servicesThe service collection to perform the registration on.
configurationThe configuration containing credentials. Each URI must be a subsection with User and Password values.

The documentation for this class was generated from the following file: