Table of Contents

Interface IMicrosoftIdentityAuthenticationDelegatingHandlerFactory

Namespace
Microsoft.Identity.Web
Assembly
Microsoft.Identity.Web.dll

Interface to a class that provides the DelegatingHandler that adds an authorization header with a token for the application.

public interface IMicrosoftIdentityAuthenticationDelegatingHandlerFactory

Methods

CreateAppHandler(string?)

Creates an instance of a DelegatingHandler that adds an authorization header with a token for an application.

DelegatingHandler CreateAppHandler(string? serviceName)

Parameters

serviceName string

Name of the service describing the downstream web API. Used to retrieve the appropriate config section.

Returns

DelegatingHandler

The DelegatingHandler.

CreateUserHandler(string?)

Creates an instance of a DelegatingHandler that adds an authorization header with a token on behalf of the current user.

DelegatingHandler CreateUserHandler(string? serviceName)

Parameters

serviceName string

Name of the service describing the downstream web API. Used to retrieve the appropriate config section.

Returns

DelegatingHandler

The DelegatingHandler.