C# Class ChessClient.Tests.Controllers.AccountControllerTest.MockMembershipService

Inheritance: IMembershipService
Show file Open project: Beginner7/Command3

Public Methods

Method Description
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
ValidateUser ( string userName, string password ) : bool

Method Details

ChangePassword() public method

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
return bool

CreateUser() public method

public CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
userName string
password string
email string
return MembershipCreateStatus

ValidateUser() public method

public ValidateUser ( string userName, string password ) : bool
userName string
password string
return bool