Freigeben über


AuthenticationConfigurationProviderExtensions.GetSchemeConfiguration Methode

Definition

Gibt das angegebene IConfiguration-Objekt zurück.

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

Parameter

authenticationScheme
String

Der Pfad zu dem Abschnitt, der zurückgegeben werden soll.

Gibt zurück

Das angegebene IConfiguration Objekt oder NULL, wenn der angeforderte Abschnitt nicht vorhanden ist.

Gilt für: