MicrosoftIdentityAuthenticationMessageHandlerHttpClientBuilderExtensions.AddMicrosoftIdentityUserAuthenticationHandler Method

Definition

Overloads

AddMicrosoftIdentityUserAuthenticationHandler(IHttpClientBuilder, String, IConfiguration)

Adds a named Microsoft Identity user authentication message handler related to a specific configuration section.

AddMicrosoftIdentityUserAuthenticationHandler(IHttpClientBuilder, String, Action<MicrosoftIdentityAuthenticationMessageHandlerOptions>)

Adds a named Microsoft Identity user authentication message handler initialized with delegates.

AddMicrosoftIdentityUserAuthenticationHandler(IHttpClientBuilder, String, IConfiguration)

Adds a named Microsoft Identity user authentication message handler related to a specific configuration section.

public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddMicrosoftIdentityUserAuthenticationHandler (this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, string serviceName, Microsoft.Extensions.Configuration.IConfiguration configuration);
static member AddMicrosoftIdentityUserAuthenticationHandler : Microsoft.Extensions.DependencyInjection.IHttpClientBuilder * string * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.DependencyInjection.IHttpClientBuilder
<Extension()>
Public Function AddMicrosoftIdentityUserAuthenticationHandler (builder As IHttpClientBuilder, serviceName As String, configuration As IConfiguration) As IHttpClientBuilder

Parameters

builder
IHttpClientBuilder

Builder.

serviceName
String

Name of the configuration for the service.

configuration
IConfiguration

Configuration.

Returns

The builder for chaining.

Applies to

AddMicrosoftIdentityUserAuthenticationHandler(IHttpClientBuilder, String, Action<MicrosoftIdentityAuthenticationMessageHandlerOptions>)

Adds a named Microsoft Identity user authentication message handler initialized with delegates.

public static Microsoft.Extensions.DependencyInjection.IHttpClientBuilder AddMicrosoftIdentityUserAuthenticationHandler (this Microsoft.Extensions.DependencyInjection.IHttpClientBuilder builder, string serviceName, Action<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> configureOptions);
static member AddMicrosoftIdentityUserAuthenticationHandler : Microsoft.Extensions.DependencyInjection.IHttpClientBuilder * string * Action<Microsoft.Identity.Web.MicrosoftIdentityAuthenticationMessageHandlerOptions> -> Microsoft.Extensions.DependencyInjection.IHttpClientBuilder
<Extension()>
Public Function AddMicrosoftIdentityUserAuthenticationHandler (builder As IHttpClientBuilder, serviceName As String, configureOptions As Action(Of MicrosoftIdentityAuthenticationMessageHandlerOptions)) As IHttpClientBuilder

Parameters

builder
IHttpClientBuilder

Builder.

serviceName
String

Name of the configuration for the service.

configureOptions
Action<MicrosoftIdentityAuthenticationMessageHandlerOptions>

Action to configure the options.

Returns

The builder for chaining.

Applies to