MicrosoftIdentityAppAuthenticationMessageHandler.cs from AzureAD/microsoft-identity-web
// Source: https://github.com/AzureAD/microsoft-identity-web | License: MIT | Copyright Microsoft Corporation
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
namespace Microsoft.Identity.Web
{
/// <summary>
/// A DelegatingHandler implementation that add an authorization header with a token for the application.
/// </summary>
public class MicrosoftIdentityAppAuthenticationMessageHandler : MicrosoftIdentityAuthenticationBaseMessageHandler
{
/// <summary>
/// Initializes a new instance of the <see c
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key