public string Login()
        {
            AttributeStoreLogger.Debug("Logging in, Configuration=" + Configuration.GetInstance().ToString());
            this.url     = Configuration.GetInstance().ReflectiveUrl;
            this.context = Configuration.GetInstance().Context;

            string username = Configuration.GetInstance().Username;
            string password = Configuration.GetInstance().Password;

            this.token = ReflectiveClient.Login(this.url, username, password, this.context);
            return(this.token);
        }
        public void Initialize(Dictionary <string, string> config)
        {
            try
            {
                System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
                Configuration.GetInstance().Init(config);
                AttributeStoreLogger.Info("Reflective AttributeStore loaded. details :" + Configuration.GetInstance().ToString());

                this.client = new ReflectiveClient();
                AttributeStoreLogger.Debug("Client instantiated:" + this.client);

                this.client.Login();
                AttributeStoreLogger.Info("Reflective AttributeStore authenticated");
            }
            catch (Exception ex)
            {
                throw new AttributeStoreInvalidConfigurationException("Failed to load configuration: " + ex.Message + ". Details: " + ex.StackTrace.ToString());
            }
        }