BasicClient.cs 698 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // System.Net.BasicClient
  3. //
  4. // Authors:
  5. // Gonzalo Paniagua Javier ([email protected])
  6. //
  7. // (C) 2003 Ximian, Inc (http://www.ximian.com)
  8. //
  9. namespace System.Net
  10. {
  11. class BasicClient : IAuthenticationModule
  12. {
  13. [MonoTODO]
  14. public Authorization Authenticate (string challenge, WebRequest webRequest, ICredentials credentials)
  15. {
  16. throw new NotImplementedException ();
  17. }
  18. [MonoTODO]
  19. public virtual Authorization PreAuthenticate (WebRequest webRequest, ICredentials credentials)
  20. {
  21. throw new NotImplementedException ();
  22. }
  23. public virtual string AuthenticationType {
  24. get { return "Basic"; }
  25. }
  26. public virtual bool CanPreAuthenticate {
  27. get { return true; }
  28. }
  29. }
  30. }