Lingua

DownstreamWebApiExtensions.AddDownstreamWebApi Metodo

Definizione

Overload

Nome Descrizione
AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, IConfiguration)
Obsoleti.

Aggiunge un servizio API Web downstream denominato correlato a una sezione di configurazione specifica.

AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, Action<DownstreamWebApiOptions>)
Obsoleti.

Aggiunge un servizio API Web downstream denominato inizializzato con delegati.

AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, IConfiguration)

Attenzione

Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.

Aggiunge un servizio API Web downstream denominato correlato a una sezione di configurazione specifica.

[System.Obsolete("Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)]
public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, string serviceName, Microsoft.Extensions.Configuration.IConfiguration configuration);
[<System.Obsolete("Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)>]
static member AddDownstreamWebApi : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * string * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddDownstreamWebApi (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, serviceName As String, configuration As IConfiguration) As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametri

serviceName
String

Nome della configurazione per il servizio. Questo è il nome usato per chiamare il servizio da controller/pagine.

configuration
IConfiguration

Configurazione.

Valori restituiti

Generatore per il concatenamento.

Attributi

Si applica a

AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, Action<DownstreamWebApiOptions>)

Attenzione

Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.

Aggiunge un servizio API Web downstream denominato inizializzato con delegati.

[System.Obsolete("Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)]
public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddDownstreamWebApi(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, string serviceName, Action<Microsoft.Identity.Web.DownstreamWebApiOptions> configureOptions);
[<System.Obsolete("Use AddDownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)>]
static member AddDownstreamWebApi : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * string * Action<Microsoft.Identity.Web.DownstreamWebApiOptions> -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddDownstreamWebApi (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, serviceName As String, configureOptions As Action(Of DownstreamWebApiOptions)) As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametri

serviceName
String

Nome della configurazione per il servizio. Si tratta del nome che verrà usato quando si chiama il servizio da controller/pagine.

configureOptions
Action<DownstreamWebApiOptions>

Azione per configurare le opzioni.

Valori restituiti

Generatore per il concatenamento.

Attributi

Si applica a