Skip to main content
Table of Contents

Class HttpClientHelper

Namespace
Stratara.Identity.Core
Assembly
Stratara.Identity.Core.dll

Default IHttpClientHelper implementation that simply exposes the injected HttpClient. Registered via AddHttpClient<IHttpClientHelper, HttpClientHelper> so DI applies a named HttpClient (with its own handler chain + base address) to this typed client.

public sealed class HttpClientHelper : IHttpClientHelper
Inheritance
HttpClientHelper
Implements
Inherited Members
Extension Methods

Constructors

HttpClientHelper(HttpClient)

Default IHttpClientHelper implementation that simply exposes the injected HttpClient. Registered via AddHttpClient<IHttpClientHelper, HttpClientHelper> so DI applies a named HttpClient (with its own handler chain + base address) to this typed client.

public HttpClientHelper(HttpClient httpClient)

Parameters

httpClient HttpClient

Properties

Client

The configured HttpClient to use for identity-endpoint calls.

public HttpClient Client { get; }

Property Value

HttpClient