AuthenticationConfigurationProviderExtensions.GetSchemeConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- provider
- IAuthenticationConfigurationProvider
An IAuthenticationConfigurationProvider instance.
- authenticationScheme
- String
The path to the section to be returned.
Returns
The specified IConfiguration object, or null if the requested section does not exist.