DefaultAuthenticationModule.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * Namespace: System.Web.Security
  3. * Class: DefaultAuthenticationModule
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: [email protected]
  7. * Contact: <[email protected]>, <[email protected]>
  8. * Implementation: yes
  9. * Status: ??%
  10. *
  11. * (C) Gaurav Vaish (2002)
  12. */
  13. using System;
  14. using System.Web;
  15. namespace System.Web.Security
  16. {
  17. public sealed class DefaultAuthenticationModule : IHttpModule
  18. {
  19. private DefaultAuthenticationEventHandler authenticate;
  20. public DefaultAuthenticationModule()
  21. {
  22. }
  23. public void Dispose()
  24. {
  25. }
  26. [MonoTODO]
  27. public void Init(HttpApplication app)
  28. {
  29. //TODO: I have to add a DefaultAuthenticationEventHandler sort of thing
  30. // Could not find a suitable public delegate in HttpApplication.
  31. // Also need to define a method.
  32. throw new NotImplementedException();
  33. }
  34. public event DefaultAuthenticationEventHandler Authenticate
  35. {
  36. add
  37. {
  38. authenticate += value;
  39. }
  40. remove
  41. {
  42. authenticate -= value;
  43. }
  44. }
  45. }
  46. }