From 1729b4bffedbcd0e0bdff80b74aa9944312d817c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 20 Jan 2015 19:33:03 +0100 Subject: One class per file: framework/Security --- framework/Security/TUserManagerPasswordMode.php | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 framework/Security/TUserManagerPasswordMode.php (limited to 'framework/Security/TUserManagerPasswordMode.php') diff --git a/framework/Security/TUserManagerPasswordMode.php b/framework/Security/TUserManagerPasswordMode.php new file mode 100644 index 00000000..8737fb53 --- /dev/null +++ b/framework/Security/TUserManagerPasswordMode.php @@ -0,0 +1,31 @@ + + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package System.Security + */ + +/** + * TUserManagerPasswordMode class. + * TUserManagerPasswordMode defines the enumerable type for the possible modes + * that user passwords can be specified for a {@link TUserManager}. + * + * The following enumerable values are defined: + * - Clear: the password is in plain text + * - MD5: the password is recorded as the MD5 hash value of the original password + * - SHA1: the password is recorded as the SHA1 hash value of the original password + * + * @author Qiang Xue + * @package System.Security + * @since 3.0.4 + */ +class TUserManagerPasswordMode extends TEnumerable +{ + const Clear='Clear'; + const MD5='MD5'; + const SHA1='SHA1'; +} \ No newline at end of file -- cgit v1.2.3