Share via


AuthenticationConfigurationProviderExtensions.GetSchemeConfiguration Method

Definition

Returns the specified IConfiguration object.

public static Microsoft.Extensions.Configuration.IConfiguration GetSchemeConfiguration (this Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider provider, string authenticationScheme);
static member GetSchemeConfiguration : Microsoft.AspNetCore.Authentication.IAuthenticationConfigurationProvider * string -> Microsoft.Extensions.Configuration.IConfiguration
<Extension()>
Public Function GetSchemeConfiguration (provider As IAuthenticationConfigurationProvider, authenticationScheme As String) As IConfiguration

Parameters

authenticationScheme
String

The path to the section to be returned.

Returns

The specified IConfiguration object, or null if the requested section does not exist.

Applies to