internal int Step3SetContext(ServerResponse sr, string username, byte[] newPassword, long[] trace)
 {
     _username       = username;
     _serverResponse = sr;
     _trace          = trace;
     _email          = null;
     _loginProcedure = null;
     return(Step3(newPassword, _email));
 }
        public int Step1(string username, long[] trace)
        {
            if (CheckVendor.NotValidUsername(username) || CheckVendor.NotValidTrace(trace))
            {
                return(03_0010);
            }

            _username       = username;
            _trace          = trace;
            _loginProcedure = new LoginProcedure();
            return(_loginProcedure.Step1(username, trace));
        }
 public int Step4()
 {
     _loginProcedure = new LoginProcedure();
     return(_loginProcedure.Step1(_username, _trace));
 }
Exemple #4
0
 public int Step2()
 {
     _loginProcedure = new LoginProcedure();
     return(_loginProcedure.Step2SetContext(_serverChallenge, _username, _password));
 }