public bool TestCredentials(string username, string password) { var data = new FollwitAccountTestData() { UserName = username, Password = FollwitAPI.GeneratePasswordHash(password) }; var resp = FollwitAPI.TestAccount(data); return(resp.Response == "success"); }
public string HashPassword(string password) { return(FollwitAPI.GeneratePasswordHash(password)); }