2 // System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider
5 // Marek Habersack (mhabersack@novell.com)
7 // (C) 2008 Novell, Inc
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 using System.ComponentModel;
33 using System.Collections.Specialized;
35 using System.Security;
36 using System.Security.Principal;
38 using System.Web.Security;
41 namespace System.Web.ClientServices.Providers
43 public class ClientFormsAuthenticationMembershipProvider : System.Web.Security.MembershipProvider
45 #pragma warning disable 67
46 public event EventHandler <UserValidatedEventArgs> UserValidated;
47 #pragma warning restore 67
49 public override string ApplicationName {
50 get { throw new NotImplementedException (); }
51 set { throw new NotImplementedException (); }
54 public override bool EnablePasswordReset {
55 get { throw new NotImplementedException (); }
58 public override bool EnablePasswordRetrieval {
59 get { throw new NotImplementedException (); }
62 public override int MaxInvalidPasswordAttempts {
63 get { throw new NotImplementedException (); }
66 public override int MinRequiredNonAlphanumericCharacters {
67 get { throw new NotImplementedException (); }
70 public override int MinRequiredPasswordLength {
71 get { throw new NotImplementedException (); }
74 public override int PasswordAttemptWindow {
75 get { throw new NotImplementedException (); }
78 public override MembershipPasswordFormat PasswordFormat {
79 get { throw new NotImplementedException (); }
82 public override string PasswordStrengthRegularExpression {
83 get { throw new NotImplementedException (); }
86 public override bool RequiresQuestionAndAnswer {
87 get { throw new NotImplementedException (); }
90 public override bool RequiresUniqueEmail {
91 get { throw new NotImplementedException (); }
94 public ClientFormsAuthenticationMembershipProvider ()
96 throw new NotImplementedException ();
99 public static bool ValidateUser (string username, string password, string serviceUri)
101 throw new NotImplementedException ();
104 public override bool ChangePassword (string username, string oldPassword, string newPassword)
106 throw new NotImplementedException ();
109 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPasswordQuestion, string newPasswordAnswer)
111 throw new NotImplementedException ();
114 public override MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved,
115 object providerUserKey, out MembershipCreateStatus status)
117 throw new NotImplementedException ();
120 public override bool DeleteUser (string username, bool deleteAllRelatedData)
122 throw new NotImplementedException ();
125 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
127 throw new NotImplementedException ();
130 public override MembershipUserCollection FindUsersByName (string usernameToMatch, int pageIndex, int pageSize, out int totalRecords)
132 throw new NotImplementedException ();
135 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
137 throw new NotImplementedException ();
140 public override int GetNumberOfUsersOnline ()
142 throw new NotImplementedException ();
145 public override string GetPassword (string username, string answer)
147 throw new NotImplementedException ();
150 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
152 throw new NotImplementedException ();
155 public override MembershipUser GetUser (string username, bool userIsOnline)
157 throw new NotImplementedException ();
160 public override string GetUserNameByEmail (string email)
162 throw new NotImplementedException ();
165 public override void Initialize (string name, NameValueCollection config)
167 throw new NotImplementedException ();
170 public void Logout ()
172 throw new NotImplementedException ();
175 public override string ResetPassword (string username, string answer)
177 throw new NotImplementedException ();
180 public override bool UnlockUser (string username)
182 throw new NotImplementedException ();
185 public override void UpdateUser (System.Web.Security.MembershipUser user)
187 throw new NotImplementedException ();
190 public override bool ValidateUser (string username, string password)
192 throw new NotImplementedException ();
195 public bool ValidateUser (string username, string password, bool rememberMe)
197 throw new NotImplementedException ();