DownstreamWebApi Klass

Definition

Varning

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

Implementering för det underordnade webb-API:et.

[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
Arv
DownstreamWebApi
Attribut
Implementeringar

Konstruktorer

Name Description
DownstreamWebApi(ITokenAcquisition, IOptionsMonitor<DownstreamWebApiOptions>, HttpClient, IOptionsMonitor<MicrosoftIdentityOptions>)
Föråldrad.

Konstruktor.

Metoder

Name Description
CallWebApiForAppAsync(String, String, Action<DownstreamWebApiOptions>, StringContent)
Föråldrad.

Anropar det underordnade webb-API:et för appen med de nödvändiga omfången.

CallWebApiForUserAsync(String, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, StringContent)
Föråldrad.

Anropar det underordnade webb-API:et för användaren, baserat på en beskrivning av det underordnade webb-API:et i konfigurationen.

CallWebApiForUserAsync<TInput,TOutput>(String, TInput, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal)
Föråldrad.

Anropar ett underordnat webb-API som använder JSON med vissa data och returnerar data.

Tilläggsmetoder

Name Description
CallWebApiForUserAsync<TOutput>(IDownstreamWebApi, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Anropa en webb-API-slutpunkt med en HttpGet och returnera starkt typerade data.

GetForUserAsync<TInput>(IDownstreamWebApi, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Anropa ett webb-API med ett starkt skrivet indata med en HttpGet.

GetForUserAsync<TOutput>(IDownstreamWebApi, String, String, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Få ett starkt skrivet svar från webb-API:et.

PostForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Anropar webb-API:et med en HttpPost som ger starkt indata och får starkt skrivna utdata.

PutForUserAsync<TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Anropar webb-API-slutpunkten med ett HttpPut och tillhandahåller starkt indata.

PutForUserAsync<TOutput,TInput>(IDownstreamWebApi, String, String, TInput, Action<DownstreamWebApiOptions>, ClaimsPrincipal, String)
Föråldrad.

Anropar webb-API-slutpunkten med ett HttpPut, provinding starkt skrivna indata och få tillbaka starkt skrivna data.

Gäller för