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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for