Authorization.cs 511 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // System.Net.Authorization.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. public class Authorization {
  11. string token;
  12. bool complete;
  13. public Authorization (string token)
  14. {
  15. this.complete = true;
  16. this.token = token;
  17. }
  18. public Authorization (string token, bool complete)
  19. {
  20. this.complete = complete;
  21. this.token = token;
  22. }
  23. public bool Complete {
  24. get {
  25. return complete;
  26. }
  27. }
  28. }
  29. }