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

Inheritance: IMembershipService
Afficher le fichier Open project: Beginner7/Command3

Méthodes publiques

Méthode 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 méthode

public ChangePassword ( string userName, string oldPassword, string newPassword ) : bool
userName string
oldPassword string
newPassword string
Résultat bool

CreateUser() public méthode

public CreateUser ( string userName, string password, string email ) : MembershipCreateStatus
userName string
password string
email string
Résultat MembershipCreateStatus

ValidateUser() public méthode

public ValidateUser ( string userName, string password ) : bool
userName string
password string
Résultat bool