예제 #1
0
        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");
        }
예제 #2
0
 public string HashPassword(string password)
 {
     return(FollwitAPI.GeneratePasswordHash(password));
 }