Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.58 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.Security;
  6.  
  7. namespace SteveOnTheFly.Util
  8. {
  9.     public class SOTFMembership : MembershipProvider
  10.     {
  11.         private string _appName;
  12.         public override string ApplicationName
  13.         {
  14.             get
  15.             {
  16.                 return _appName ?? "SOTF";
  17.             }
  18.             set
  19.             {
  20.                 _appName = value;
  21.             }
  22.         }
  23.  
  24.         public override bool ChangePassword(string username, string oldPassword, string newPassword)
  25.         {
  26.             throw new NotImplementedException();
  27.         }
  28.  
  29.         public override bool ChangePasswordQuestionAndAnswer(string username, string password, string newPasswordQuestion, string newPasswordAnswer)
  30.         {
  31.             throw new NotImplementedException();
  32.         }
  33.  
  34.         public override MembershipUser CreateUser(string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
  35.         {
  36.             throw new NotImplementedException();
  37.         }
  38.  
  39.         public override bool DeleteUser(string username, bool deleteAllRelatedData)
  40.         {
  41.             throw new NotImplementedException();
  42.         }
  43.  
  44.         public override bool EnablePasswordReset
  45.         {
  46.             get { throw new NotImplementedException(); }
  47.         }
  48.  
  49.         public override bool EnablePasswordRetrieval
  50.         {
  51.             get { throw new NotImplementedException(); }
  52.         }
  53.  
  54.         public override MembershipUserCollection FindUsersByEmail(string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
  55.         {
  56.             throw new NotImplementedException();
  57.         }
  58.  
  59.         public override MembershipUserCollection FindUsersByName(string usernameToMatch, int pageIndex, int pageSize, out int totalRecords)
  60.         {
  61.             throw new NotImplementedException();
  62.         }
  63.  
  64.         public override MembershipUserCollection GetAllUsers(int pageIndex, int pageSize, out int totalRecords)
  65.         {
  66.             throw new NotImplementedException();
  67.         }
  68.  
  69.         public override int GetNumberOfUsersOnline()
  70.         {
  71.             throw new NotImplementedException();
  72.         }
  73.  
  74.         public override string GetPassword(string username, string answer)
  75.         {
  76.             throw new NotImplementedException();
  77.         }
  78.  
  79.         public override MembershipUser GetUser(string username, bool userIsOnline)
  80.         {
  81.             throw new NotImplementedException();
  82.         }
  83.  
  84.         public override MembershipUser GetUser(object providerUserKey, bool userIsOnline)
  85.         {
  86.             throw new NotImplementedException();
  87.         }
  88.  
  89.         public override string GetUserNameByEmail(string email)
  90.         {
  91.             throw new NotImplementedException();
  92.         }
  93.  
  94.         public override int MaxInvalidPasswordAttempts
  95.         {
  96.             get { throw new NotImplementedException(); }
  97.         }
  98.  
  99.         public override int MinRequiredNonAlphanumericCharacters
  100.         {
  101.             get { throw new NotImplementedException(); }
  102.         }
  103.  
  104.         public override int MinRequiredPasswordLength
  105.         {
  106.             get { throw new NotImplementedException(); }
  107.         }
  108.  
  109.         public override int PasswordAttemptWindow
  110.         {
  111.             get { throw new NotImplementedException(); }
  112.         }
  113.  
  114.         public override MembershipPasswordFormat PasswordFormat
  115.         {
  116.             get { throw new NotImplementedException(); }
  117.         }
  118.  
  119.         public override string PasswordStrengthRegularExpression
  120.         {
  121.             get { throw new NotImplementedException(); }
  122.         }
  123.  
  124.         public override bool RequiresQuestionAndAnswer
  125.         {
  126.             get { throw new NotImplementedException(); }
  127.         }
  128.  
  129.         public override bool RequiresUniqueEmail
  130.         {
  131.             get { throw new NotImplementedException(); }
  132.         }
  133.  
  134.         public override string ResetPassword(string username, string answer)
  135.         {
  136.             throw new NotImplementedException();
  137.         }
  138.  
  139.         public override bool UnlockUser(string userName)
  140.         {
  141.             throw new NotImplementedException();
  142.         }
  143.  
  144.         public override void UpdateUser(MembershipUser user)
  145.         {
  146.             throw new NotImplementedException();
  147.         }
  148.  
  149.         public override bool ValidateUser(string username, string password)
  150.         {
  151.             return username == "###########" && password == "********";
  152.         }
  153.     }
  154. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement