C# Class NuGetGallery.UserServiceFacts

Show file Open project: projectkudu/NuGetGallery

Public Methods

Method Description
CreateAUser ( string username, string password, string emailAddress ) : User
VerifyPasswordHash ( User user, string password ) : bool

Private Methods

Method Description
CreateMockUserService ( Action setup, Mock userRepo = null, Mock config = null ) : UserService

Method Details

CreateAUser() public static method

public static CreateAUser ( string username, string password, string emailAddress ) : User
username string
password string
emailAddress string
return User

VerifyPasswordHash() public static method

public static VerifyPasswordHash ( User user, string password ) : bool
user User
password string
return bool