summaryrefslogtreecommitdiff
path: root/framework/Security/TUserManagerPasswordMode.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Security/TUserManagerPasswordMode.php')
-rw-r--r--framework/Security/TUserManagerPasswordMode.php31
1 files changed, 31 insertions, 0 deletions
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 @@
+<?php
+/**
+ * TUserManager class
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 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 <qiang.xue@gmail.com>
+ * @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