IAuthenticationModule.cs 565 B

12345678910111213141516171819202122
  1. //
  2. // System.Net.IAuthenticationModule.cs
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. //
  7. // (C) Ximian, Inc. http://www.ximian.com
  8. //
  9. namespace System.Net {
  10. // <remarks>
  11. // Authentication interface for Web client authentication modules.
  12. // </remarks>
  13. public interface IAuthenticationModule
  14. {
  15. Authorization Authenticate (string challenge, WebRequest request, ICredentials credentials);
  16. Authorization PreAuthenticate (WebRequest request, ICredentials credentials);
  17. string AuthenticationType { get; }
  18. bool CanPreAuthenticate { get; }
  19. }
  20. }