Example #1
0
        public static LumAPIResultModel GetToken(LUMMiddleWareSetup setup)
        {
            var config = new MiddleWare_Config()
            {
                RequestMethod = HttpMethod.Post,
                RequestUrl    = setup.SecureURL_login
            };
            var caller = new APICaller(config);

            return(caller.GetAuthToken(setup.ClientID, setup.ClientSecret));
        }