private void parseJson(string argTokenJson, bool argShouldWrite = false)
 {
     if (false == argTokenJson.IsNullOrWhiteSpace())
     {
         Dictionary<string, string> allTokens = JsonConvert.DeserializeObject<Dictionary<string, string>>(argTokenJson);
         foreach (KeyValuePair<string, string> kvp in allTokens)
         {
             string uriStr = kvp.Key;
             string token = kvp.Value;
             var accessToken = new AccessToken(uriStr, token);
             tokenDict[accessToken.Uri] = accessToken;
         }
         if (argShouldWrite)
         {
             writeTokenFile();
         }
     }
 }
 public void RegisterToken(string argToken)
 {
     var accessToken = new AccessToken(CurrentTarget, argToken);
     tokenDict[accessToken.Uri] = accessToken;
     writeTokenFile();
 }