DownstreamWebApi Klasse

Definition

Achtung

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

Implementierung für die nachgeschaltete Web-API.

[System.Obsolete("Use DownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)]
public class DownstreamWebApi : Microsoft.Identity.Web.IDownstreamWebApi
[<System.Obsolete("Use DownstreamApi in Microsoft.Identity.Abstractions, implemented in Microsoft.Identity.Web.DownstreamApi.See aka.ms/id-web-downstream-api-v2 for migration details.", false)>]
type DownstreamWebApi = class
    interface IDownstreamWebApi
Public Class DownstreamWebApi
Implements IDownstreamWebApi
Vererbung
DownstreamWebApi
Attribute
Implementiert

Konstruktoren

Name Beschreibung
DownstreamWebApi(ITokenAcquisition, IOptionsMonitor<DownstreamWebApiOptions>, HttpClient, IOptionsMonitor<MicrosoftIdentityOptions>)
Veraltet.

Konstruktor.

Methoden

Name Beschreibung
CallWebApiForAppAsync(String, String, Action<DownstreamWebApiOptions>, StringContent)
Veraltet.

Ruft die downstream-Web-API für die App mit den erforderlichen Bereichen auf.

CallWebApiForUserAsync(String, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, StringContent)
Veraltet.

Ruft die downstream-Web-API für den Benutzer basierend auf einer Beschreibung der downstream-Web-API in der Konfiguration auf.

CallWebApiForUserAsync<TInput,TOutput>(String, TInput, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal)
Veraltet.

Ruft eine nachgelagerte Web-API auf, die JSON mit einigen Daten verwendet und Daten zurückgibt.

Erweiterungsmethoden

Name Beschreibung
CallWebApiForUserAsync<TOutput>(IDownstreamWebApi, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Rufen Sie einen Web-API-Endpunkt mit einem HttpGet auf, und geben Sie stark typierte Daten zurück.

GetForUserAsync<TInput>(IDownstreamWebApi, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Rufen Sie eine Web-API mit einer stark typierten Eingabe mit einem HttpGet auf.

GetForUserAsync<TOutput>(IDownstreamWebApi, String, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Rufen Sie eine stark typierte Antwort von der Web-API ab.

PostForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Ruft die Web-API mit einem HttpPost auf, stellt stark typierte Eingaben bereit und erhält eine stark typierte Ausgabe.

PutForUserAsync<TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Ruft den Web-API-Endpunkt mit einer HttpPut auf, die stark typierte Eingabedaten bereitstellt.

PutForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Veraltet.

Ruft den Web-API-Endpunkt mit einer HttpPut auf, wobei stark typierte Eingabedaten bereitgestellt und stark typierte Daten zurückgegeben werden.

Gilt für: