DownstreamWebApi Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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. |