C# Class JordanRift.Grassroots.Tests.Fakes.MockMembershipService

Inheritance: IMembershipService
Show file Open project: JordanRift/Grassroots

Public Methods

Method Description
ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
MockMembershipService ( ) : System.Linq
ResetPassword ( string email ) : string
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

MockMembershipService() public method

public MockMembershipService ( ) : System.Linq
return System.Linq

ResetPassword() public method

public ResetPassword ( string email ) : string
email string
return string

ValidateUser() public method

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