summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TSqlMembershipProvider.php
diff options
context:
space:
mode:
authorjrags <>2006-09-21 00:57:53 +0000
committerjrags <>2006-09-21 00:57:53 +0000
commitb6e12bedc51b56cf0f1a5930e69a4c377cd3dfe5 (patch)
tree15931a9902b97d31fb4a4788634c222587c52632 /framework/Web/Security/TSqlMembershipProvider.php
parent5da182335ceec1c8ad68047217a33375897f1c1d (diff)
Added providers demo, sqlmembershipprovider sqlroleprovider both load via modules now, but are not totaly functional yet. TLogin* controls created but not functional yet.
Diffstat (limited to 'framework/Web/Security/TSqlMembershipProvider.php')
-rw-r--r--framework/Web/Security/TSqlMembershipProvider.php83
1 files changed, 83 insertions, 0 deletions
diff --git a/framework/Web/Security/TSqlMembershipProvider.php b/framework/Web/Security/TSqlMembershipProvider.php
new file mode 100644
index 00000000..6bd677f7
--- /dev/null
+++ b/framework/Web/Security/TSqlMembershipProvider.php
@@ -0,0 +1,83 @@
+<?php
+Prado::using('System.Web.Security.TMembershipProvider');
+class TSqlMembershipProvider extends TMembershipProvider
+{
+ private $_connectionStringName;
+
+ public function getConnectionStringName()
+ {
+ return $this->_connectionStringName;
+ }
+ public function setConnectionStringName($value)
+ {
+ $this->_connectionStringName = TPropertyValue::ensureString($value);
+ }
+
+
+ public function __construct()
+ {
+
+ }
+ public function changePassword($username,$oldPassword,$newPassword)
+ {
+
+ }
+ public function changePasswordQuestionAndAnswer($username,$password,$newPasswordQuestion,$newPasswordAnswer)
+ {
+
+ }
+ public function createUser($username,$password,$email,$passwordQuestion,$passwordAnswer,$isApproved,$providerUserKey)
+ {
+
+ }
+ public function deleteUser($username,$deleteAllRelatedData)
+ {
+
+ }
+ public function findUsersByEmail($emailToMatch,$pageIndex=null,$pageSize=null)
+ {
+
+ }
+ public function findUsersByName($usernameToMatch,$pageIndex=null,$pageSize=null)
+ {
+
+ }
+ public function getAllUsers($pageIndex=null,$pageSize=null)
+ {
+
+ }
+ public function getNumberOfUsersOnline()
+ {
+
+ }
+ public function getPassword($username,$answer)
+ {
+
+ }
+ public function getMembershipUser($username=null,$providerUserKey=null,$userIsOnline=false)
+ {
+ Prado::using('System.Web.Security.TMembershipUser');
+// return new TMembershipUser($this->getID());
+ }
+ public function getUserNameByEmail($email)
+ {
+
+ }
+ public function resetPassword($username,$answer)
+ {
+
+ }
+ public function unlockUser($userName)
+ {
+
+ }
+ public function updateUser(TMembershipUser $user)
+ {
+
+ }
+ public function validateUser($username,$password)
+ {
+
+ }
+}
+?> \ No newline at end of file