public void authenticate()
        {
            JWTHandler jwtHandler = new JWTHandler();

            jwt = jwtHandler.generateJWT(symConfig);
            sessionAuthenticate();
            kmAuthenticate();
        }
        public void RSAAuthTest()
        {
            SymConfigLoader symConfigLoader = new SymConfigLoader();

            symConfig = symConfigLoader.loadFromFile("C:/Users/Michael/Documents/Visual Studio 2017/Projects/apiClientDotNet/apiClientDotNetTest/Resources/testConfig.json");
            JWTHandler jwtHandler = new JWTHandler();

            jwtHandler.generateJWT(symConfig);
        }
        public void ForGivenRsaConfig_CanReadConfigAndCreateJwt()
        {
            var symConfigLoader = new SymConfigLoader();
            var configPath      = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Resources", "config.json");
            var symConfig       = symConfigLoader.loadFromFile(configPath);
            var jwtHandler      = new JWTHandler();
            var jwt             = jwtHandler.generateJWT(symConfig);

            Assert.IsNotNull(jwt);
        }