// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ namespace Microsoft.Graph { using System.Net.Http; using System.Threading.Tasks; /// /// Interface for authenticating requests. /// public interface IAuthenticationProvider { /// /// Authenticates the specified request message. /// /// The to authenticate. /// The task to await. Task AuthenticateRequestAsync(HttpRequestMessage request); } }