summaryrefslogtreecommitdiff
path: root/framework/Web/Security/TSqlMembershipProvider.php
diff options
context:
space:
mode:
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