예제 #1
0
파일: Program.cs 프로젝트: Risersoft/GST
        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
파일: Program.cs 프로젝트: Risersoft/GST
        private static void TestEWBTokenKpmg(string gstin, string userid)
        {
            System.Console.Write("Enter Password:"******"PROD");
            var authoutput         = auth.RequestToken("");
        }
예제 #3
0
파일: Program.cs 프로젝트: Risersoft/GST
        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();
            }
        }