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 public event EventHandler <UserValidatedEventArgs> UserValidated;
47 public override string ApplicationName {
48 get { throw new NotImplementedException (); }
49 set { throw new NotImplementedException (); }
52 public override bool EnablePasswordReset {
53 get { throw new NotImplementedException (); }
56 public override bool EnablePasswordRetrieval {
57 get { throw new NotImplementedException (); }
60 public override int MaxInvalidPasswordAttempts {
61 get { throw new NotImplementedException (); }
64 public override int MinRequiredNonAlphanumericCharacters {
65 get { throw new NotImplementedException (); }
68 public override int MinRequiredPasswordLength {
69 get { throw new NotImplementedException (); }
72 public override int PasswordAttemptWindow {
73 get { throw new NotImplementedException (); }
76 public override MembershipPasswordFormat PasswordFormat {
77 get { throw new NotImplementedException (); }
80 public override string PasswordStrengthRegularExpression {
81 get { throw new NotImplementedException (); }
84 public override bool RequiresQuestionAndAnswer {
85 get { throw new NotImplementedException (); }
88 public override bool RequiresUniqueEmail {
89 get { throw new NotImplementedException (); }
92 public ClientFormsAuthenticationMembershipProvider ()
94 throw new NotImplementedException ();
97 public static bool ValidateUser (string username, string password, string serviceUri)
99 throw new NotImplementedException ();
102 public override bool ChangePassword (string username, string oldPassword, string newPassword)
104 throw new NotImplementedException ();
107 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPasswordQuestion, string newPasswordAnswer)
109 throw new NotImplementedException ();
112 public override MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved,
113 object providerUserKey, out MembershipCreateStatus status)
115 throw new NotImplementedException ();
118 public override bool DeleteUser (string username, bool deleteAllRelatedData)
120 throw new NotImplementedException ();
123 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
125 throw new NotImplementedException ();
128 public override MembershipUserCollection FindUsersByName (string usernameToMatch, int pageIndex, int pageSize, out int totalRecords)
130 throw new NotImplementedException ();
133 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
135 throw new NotImplementedException ();
138 public override int GetNumberOfUsersOnline ()
140 throw new NotImplementedException ();
143 public override string GetPassword (string username, string answer)
145 throw new NotImplementedException ();
148 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
150 throw new NotImplementedException ();
153 public override MembershipUser GetUser (string username, bool userIsOnline)
155 throw new NotImplementedException ();
158 public override string GetUserNameByEmail (string email)
160 throw new NotImplementedException ();
163 public override void Initialize (string name, NameValueCollection config)
165 throw new NotImplementedException ();
168 public void Logout ()
170 throw new NotImplementedException ();
173 public override string ResetPassword (string username, string answer)
175 throw new NotImplementedException ();
178 public override bool UnlockUser (string username)
180 throw new NotImplementedException ();
183 public override void UpdateUser (System.Web.Security.MembershipUser user)
185 throw new NotImplementedException ();
188 public override bool ValidateUser (string username, string password)
190 throw new NotImplementedException ();
193 public bool ValidateUser (string username, string password, bool rememberMe)
195 throw new NotImplementedException ();