ClientFormsAuthenticationMembershipProvider.cs 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. //
  2. // System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider
  3. //
  4. // Authors:
  5. // Marek Habersack ([email protected])
  6. //
  7. // (C) 2008 Novell, Inc
  8. //
  9. //
  10. // Permission is hereby granted, free of charge, to any person obtaining
  11. // a copy of this software and associated documentation files (the
  12. // "Software"), to deal in the Software without restriction, including
  13. // without limitation the rights to use, copy, modify, merge, publish,
  14. // distribute, sublicense, and/or sell copies of the Software, and to
  15. // permit persons to whom the Software is furnished to do so, subject to
  16. // the following conditions:
  17. //
  18. // The above copyright notice and this permission notice shall be
  19. // included in all copies or substantial portions of the Software.
  20. //
  21. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  22. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  25. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  26. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  27. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28. //
  29. #if NET_3_5
  30. using System;
  31. using System.ComponentModel;
  32. using System.Collections.Specialized;
  33. using System.Net;
  34. using System.Security;
  35. using System.Security.Principal;
  36. using System.Web;
  37. using System.Web.Security;
  38. using System.Web.UI;
  39. namespace System.Web.ClientServices.Providers
  40. {
  41. public class ClientFormsAuthenticationMembershipProvider : System.Web.Security.MembershipProvider
  42. {
  43. public event EventHandler <UserValidatedEventArgs> UserValidated;
  44. public override string ApplicationName {
  45. get { throw new NotImplementedException (); }
  46. set { throw new NotImplementedException (); }
  47. }
  48. public override bool EnablePasswordReset {
  49. get { throw new NotImplementedException (); }
  50. }
  51. public override bool EnablePasswordRetrieval {
  52. get { throw new NotImplementedException (); }
  53. }
  54. public override int MaxInvalidPasswordAttempts {
  55. get { throw new NotImplementedException (); }
  56. }
  57. public override int MinRequiredNonAlphanumericCharacters {
  58. get { throw new NotImplementedException (); }
  59. }
  60. public override int MinRequiredPasswordLength {
  61. get { throw new NotImplementedException (); }
  62. }
  63. public override int PasswordAttemptWindow {
  64. get { throw new NotImplementedException (); }
  65. }
  66. public override MembershipPasswordFormat PasswordFormat {
  67. get { throw new NotImplementedException (); }
  68. }
  69. public override string PasswordStrengthRegularExpression {
  70. get { throw new NotImplementedException (); }
  71. }
  72. public override bool RequiresQuestionAndAnswer {
  73. get { throw new NotImplementedException (); }
  74. }
  75. public override bool RequiresUniqueEmail {
  76. get { throw new NotImplementedException (); }
  77. }
  78. public ClientFormsAuthenticationMembershipProvider ()
  79. {
  80. throw new NotImplementedException ();
  81. }
  82. public static bool ValidateUser (string username, string password, string serviceUri)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. public override bool ChangePassword (string username, string oldPassword, string newPassword)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPasswordQuestion, string newPasswordAnswer)
  91. {
  92. throw new NotImplementedException ();
  93. }
  94. public override MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved,
  95. object providerUserKey, out MembershipCreateStatus status)
  96. {
  97. throw new NotImplementedException ();
  98. }
  99. public override bool DeleteUser (string username, bool deleteAllRelatedData)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
  104. {
  105. throw new NotImplementedException ();
  106. }
  107. public override MembershipUserCollection FindUsersByName (string usernameToMatch, int pageIndex, int pageSize, out int totalRecords)
  108. {
  109. throw new NotImplementedException ();
  110. }
  111. public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. public override int GetNumberOfUsersOnline ()
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. public override string GetPassword (string username, string answer)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
  124. {
  125. throw new NotImplementedException ();
  126. }
  127. public override MembershipUser GetUser (string username, bool userIsOnline)
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. public override string GetUserNameByEmail (string email)
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. public override void Initialize (string name, NameValueCollection config)
  136. {
  137. throw new NotImplementedException ();
  138. }
  139. public void Logout ()
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. public override string ResetPassword (string username, string answer)
  144. {
  145. throw new NotImplementedException ();
  146. }
  147. public override bool UnlockUser (string username)
  148. {
  149. throw new NotImplementedException ();
  150. }
  151. public override void UpdateUser (System.Web.Security.MembershipUser user)
  152. {
  153. throw new NotImplementedException ();
  154. }
  155. public override bool ValidateUser (string username, string password)
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. public bool ValidateUser (string username, string password, bool rememberMe)
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. }
  164. }
  165. #endif