Пример #1
0
        private static IGSTNAuthProvider GetKpmgAuthEWB(string gstin, string userid, string password, string env)
        {
            KpmgEWBAuthClient client = new KpmgEWBAuthClient(gstin, userid, password, env);
            var result2 = client.RequestToken("");

            return(client);
        }
Пример #2
0
        private static void TestEWBTokenKpmg(string gstin, string userid)
        {
            System.Console.Write("Enter Password:"******"PROD");
            var authoutput         = auth.RequestToken("");
        }
Пример #3
0
        private static void TestEWBKPMG(string gstin, string userid, string password, string env)
        {
            KpmgEWBAuthClient auth = new KpmgEWBAuthClient(gstin, userid, password, env);

            if (auth.Init())
            {
                KpmgEWBApiClient client2 = new KpmgEWBApiClient(auth, gstin);
                var authoutput           = auth.RequestToken("");
                TestEWB(gstin, userid, client2);
                var result = auth.Logout();
            }
        }