public void SignUp()
        {
            UserInfo       info     = ServiceTools.GetUserInfo();
            SignUpResponse response = _client.SignUp(info.Email, info.Password);

            if (!response.Success)
            {
                OutLine(response.Message, ConsoleColor.Magenta);
            }
            else
            {
                Message.PrintLine("{0} signed up successfully", info.Email);
            }
        }
Exemple #2
0
        public void SignUp()
        {
            UserInfo       info     = GetUserInfo();
            CoreClient     client   = new CoreClient(info.Org, info.App, HeartServer, 80, GetLogger());
            SignUpResponse response = client.SignUp(info.Email, info.Password);

            if (!response.Success)
            {
                OutLine(response.Message, ConsoleColor.Magenta);
            }
            else
            {
                OutLineFormat("{0} signed up successfully", info.Email);
            }
        }