From b6e12bedc51b56cf0f1a5930e69a4c377cd3dfe5 Mon Sep 17 00:00:00 2001 From: jrags <> Date: Thu, 21 Sep 2006 00:57:53 +0000 Subject: Added providers demo, sqlmembershipprovider sqlroleprovider both load via modules now, but are not totaly functional yet. TLogin* controls created but not functional yet. --- framework/Web/Security/TSqlMembershipProvider.php | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 framework/Web/Security/TSqlMembershipProvider.php (limited to 'framework/Web/Security/TSqlMembershipProvider.php') 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 @@ +_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 -- cgit v1.2.3