summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TMembershipPasswordFormat.php
diff options
context:
space:
mode:
authorjrags <>2006-09-19 03:04:28 +0000
committerjrags <>2006-09-19 03:04:28 +0000
commit2c8fcb129c45faecd1a480c44f8a1708f768b91d (patch)
tree43c0ad8bb4c8f669ef242f278de9ffa12d20b93c /framework/Web/Security/TMembershipPasswordFormat.php
parentb767e82ec7bb04e747961e7ecee0e288fde719f0 (diff)
Inital Checkin of new membership and role providers. Currently still in development
Diffstat (limited to 'framework/Web/Security/TMembershipPasswordFormat.php')
-rw-r--r--framework/Web/Security/TMembershipPasswordFormat.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/framework/Web/Security/TMembershipPasswordFormat.php b/framework/Web/Security/TMembershipPasswordFormat.php
new file mode 100644
index 00000000..6648c92b
--- /dev/null
+++ b/framework/Web/Security/TMembershipPasswordFormat.php
@@ -0,0 +1,24 @@
+<?php
+/**
+ * TMembershipPasswordFormat class.
+ * Describes the encryption format for storing passwords for membership users.
+ *
+ * Clear Passwords are not encrypted.
+ * Encrypted Passwords are encrypted using the encryption settings determined by the
+ * machineKey Element (ASP.NET Settings Schema) element configuration.
+ * Hashed Passwords are encrypted one-way using the SHA1 hashing algorithm.
+ * You can specify a hashing algorithm different than the SHA1
+ * algorithm using the hashAlgorithmType attribute.
+ *
+ * @author Jason Ragsdale <jrags@jasrags.net>
+ * @version $Id: TMembershipPasswordFormat.php 1398 2006-09-08 19:31:03Z xue $
+ * @package System.Web.Security
+ * @since 3.1
+ */
+class TMembershipPasswordFormat extends TEnumerable
+{
+ const Clear='Clear';
+ const Encrypted='Encrypted';
+ const Hashed='Hashed';
+}
+?> \ No newline at end of file