Beispiel #1
0
        private static async Task RunUriLanuchCommandAsync(string commandStr, string strWithoutPrefix)
        {
            switch (commandStr)
            {
            case Const.loginCommand:
                string token = await UserAccounts.GenerateToken(UserAccounts.GetTokenCodeStr(strWithoutPrefix));

                UserAccounts.userAccountsList.Add(new User(token));

                Settings.WriteUserAccountsSetting();
                break;
            }
        }