IdUserPassProvider.pas 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. $Project$
  3. $Workfile$
  4. $Revision$
  5. $DateUTC$
  6. $Id$
  7. This file is part of the Indy (Internet Direct) project, and is offered
  8. under the dual-licensing agreement described on the Indy website.
  9. (http://www.indyproject.org/)
  10. Copyright:
  11. (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserved.
  12. }
  13. {
  14. $Log$
  15. }
  16. {
  17. Rev 1.0 11/13/2002 08:04:28 AM JPMugaas
  18. }
  19. {
  20. This component holds a username/password combination.
  21. It is used by SASL or other components in order to
  22. simplify application programming - the programmer will only have to
  23. set the username/password once if a user enters it, instead of for
  24. all components that instead now link to an instance of this class.
  25. }
  26. unit IdUserPassProvider;
  27. interface
  28. {$i IdCompilerDefines.inc}
  29. uses
  30. IdBaseComponent;
  31. type
  32. TIdUserPassProvider = class(TIdBaseComponent)
  33. protected
  34. FUsername: string;
  35. FPassword: string;
  36. published
  37. property Username: string read FUsername write FUsername;
  38. property Password: string read FPassword write FPassword;
  39. end;
  40. implementation
  41. end.