// // System.Net.IAuthenticationModule.cs // // Author: // Miguel de Icaza (miguel@ximian.com) // // (C) Ximian, Inc. http://www.ximian.com // namespace System.Net { // // Authentication interface for Web client authentication modules. // public interface IAuthenticationModule { string AuthenticationType { get; } bool CanPreAuthenticate { get; } bool CanRespond (string challenge); Authorization PreAuthenticate (WebRequest request, ICredentials credentials); Authorization Respond (string challenge, WebRequest request, ICredentials credentials); } }