Interface IMicrosoftIdentityAuthenticationDelegatingHandlerFactory
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
stringName of the service describing the downstream web API. Used to retrieve the appropriate config section.
Returns
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
stringName of the service describing the downstream web API. Used to retrieve the appropriate config section.