You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@ -72,21 +72,21 @@ namespace System.Web.Security
|
||||
{
|
||||
}
|
||||
|
||||
public abstract bool ChangePassword (string name, string oldPwd, string newPwd);
|
||||
public abstract bool ChangePasswordQuestionAndAnswer (string name, string password, string newPwdQuestion, string newPwdAnswer);
|
||||
public abstract MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status);
|
||||
public abstract bool DeleteUser (string name, bool deleteAllRelatedData);
|
||||
public abstract bool ChangePassword (string username, string oldPassword, string newPassword);
|
||||
public abstract bool ChangePasswordQuestionAndAnswer (string username, string password, string newPasswordQuestion, string newPasswordAnswer);
|
||||
public abstract MembershipUser CreateUser (string username, string password, string email, string passwordQuestion, string passwordAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status);
|
||||
public abstract bool DeleteUser (string username, bool deleteAllRelatedData);
|
||||
public abstract MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords);
|
||||
public abstract MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords);
|
||||
public abstract MembershipUserCollection FindUsersByName (string usernameToMatch, int pageIndex, int pageSize, out int totalRecords);
|
||||
public abstract MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords);
|
||||
public abstract int GetNumberOfUsersOnline ();
|
||||
public abstract string GetPassword (string name, string answer);
|
||||
public abstract MembershipUser GetUser (string name, bool userIsOnline);
|
||||
public abstract string GetPassword (string username, string answer);
|
||||
public abstract MembershipUser GetUser (string username, bool userIsOnline);
|
||||
public abstract MembershipUser GetUser (object providerUserKey, bool userIsOnline);
|
||||
public abstract string GetUserNameByEmail (string email);
|
||||
public abstract string ResetPassword (string name, string answer);
|
||||
public abstract string ResetPassword (string username, string answer);
|
||||
public abstract void UpdateUser (MembershipUser user);
|
||||
public abstract bool ValidateUser (string name, string password);
|
||||
public abstract bool ValidateUser (string username, string password);
|
||||
public abstract bool UnlockUser (string userName);
|
||||
|
||||
public abstract string ApplicationName { get; set; }
|
||||
@ -101,11 +101,11 @@ namespace System.Web.Security
|
||||
public abstract string PasswordStrengthRegularExpression { get; }
|
||||
public abstract bool RequiresUniqueEmail { get; }
|
||||
|
||||
protected virtual void OnValidatingPassword (ValidatePasswordEventArgs args)
|
||||
protected virtual void OnValidatingPassword (ValidatePasswordEventArgs e)
|
||||
{
|
||||
MembershipValidatePasswordEventHandler eh = events [validatingPasswordEvent] as MembershipValidatePasswordEventHandler;
|
||||
if (eh != null)
|
||||
eh (this, args);
|
||||
eh (this, e);
|
||||
}
|
||||
|
||||
protected virtual byte [] DecryptPassword (byte [] encodedPassword)
|
||||
|
@ -119,9 +119,9 @@ namespace System.Web.Security
|
||||
return GetPassword (null);
|
||||
}
|
||||
|
||||
public virtual string GetPassword (string answer)
|
||||
public virtual string GetPassword (string passwordAnswer)
|
||||
{
|
||||
return Provider.GetPassword (UserName, answer);
|
||||
return Provider.GetPassword (UserName, passwordAnswer);
|
||||
}
|
||||
|
||||
public virtual string ResetPassword ()
|
||||
@ -129,9 +129,9 @@ namespace System.Web.Security
|
||||
return ResetPassword (null);
|
||||
}
|
||||
|
||||
public virtual string ResetPassword (string answer)
|
||||
public virtual string ResetPassword (string passwordAnswer)
|
||||
{
|
||||
string newPass = Provider.ResetPassword (UserName, answer);
|
||||
string newPass = Provider.ResetPassword (UserName, passwordAnswer);
|
||||
|
||||
UpdateUser ();
|
||||
|
||||
|
@ -39,16 +39,16 @@ namespace System.Web.Security
|
||||
{
|
||||
}
|
||||
|
||||
public abstract void AddUsersToRoles (string [] usernames, string [] rolenames);
|
||||
public abstract void CreateRole (string rolename);
|
||||
public abstract bool DeleteRole (string rolename, bool throwOnPopulatedRole);
|
||||
public abstract void AddUsersToRoles (string [] usernames, string [] roleNames);
|
||||
public abstract void CreateRole (string roleName);
|
||||
public abstract bool DeleteRole (string roleName, bool throwOnPopulatedRole);
|
||||
public abstract string [] FindUsersInRole (string roleName, string usernameToMatch);
|
||||
public abstract string [] GetAllRoles ();
|
||||
public abstract string [] GetRolesForUser (string username);
|
||||
public abstract string [] GetUsersInRole (string rolename);
|
||||
public abstract bool IsUserInRole (string username, string rolename);
|
||||
public abstract void RemoveUsersFromRoles (string [] usernames, string [] rolenames);
|
||||
public abstract bool RoleExists (string rolename);
|
||||
public abstract string [] GetUsersInRole (string roleName);
|
||||
public abstract bool IsUserInRole (string username, string roleName);
|
||||
public abstract void RemoveUsersFromRoles (string [] usernames, string [] roleNames);
|
||||
public abstract bool RoleExists (string roleName);
|
||||
public abstract string ApplicationName { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user