AuthenticationConfigurationProviderExtensions.GetSchemeConfiguration 方法

定义

返回指定的 IConfiguration 对象。

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

参数

authenticationScheme
String

要返回的节的路径。

返回

指定的 IConfiguration 对象;如果请求的节不存在,则为 null。

适用于