DownstreamWebApiExtensions.AddDownstreamWebApi Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
Generatore.
- 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
Muratore.
- 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