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

Inheritance: IFelbookMembershipService
显示文件 Open project: janmarek/Felbook

Public Methods

Method Description
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
CreateUser ( RegisterModel model ) : MembershipCreateStatus
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 ( RegisterModel model ) : MembershipCreateStatus
model Felbook.Models.RegisterModel
return MembershipCreateStatus

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