Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files4
dungnm24/cve-2020-0796Revision fe7aebbe1789
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/TestSuites/MS-ADFSPIP/src/Adapter/SUTRequestHandler/IRequestHandler.cs
C# · 1,140 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestSuites.Identity.ADFSPIP
{
/// <summary>
/// Defines the very basic methods to handle a HTTP request.
/// </summary>
public interface IRequestHandler
{
/// <summary>
/// Get or the set the request message handled by the handler.
/// </summary>
HttpRequestMessage Request { get; set; }
/// <summary>
/// Check whether the hander can handle the specified request.
/// </summary>
/// <param name="request">The http request.</param>
/// <returns>
/// True if this handler can handle the request; false, otherwise
/// </returns>
bool CanHandleRequest(HttpRequestMessage request);
/// <summary>
/// The normal response when the client request is valid.
/// </summary>
/// <returns>
/// Response to the client request.
/// </returns>
HttpResponseMessage GetResponse();
}
}