Commits

Devin Martin committed 1251075

Rename the key constants to be consistent with what Dropbox calls them.

Comments (0)

Files changed (2)

KeeCloud/KeeCloud.csproj

       <HintPath>..\packages\DropNet.1.9.3\lib\net35\DropNet.dll</HintPath>
     </Reference>
     <Reference Include="KeePass" />
-    <Reference Include="RestSharp, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\packages\DropNet.1.9.3\lib\net35\RestSharp.dll</HintPath>
-    </Reference>
     <Reference Include="System" />
     <Reference Include="System.Data" />
     <Reference Include="System.Drawing" />

KeeCloud/Providers/Dropbox/Api.cs

 
         This is done to prevent bots from scraping the keys from the source code posted on the web.
         */
-        public const string consumerKey = "dummy";
-        public const string consumerSecret = "dummy";
+
+        /// <summary>
+        /// This is the App key provided by Dropbox
+        /// </summary>
+        const string appKey = "dummy";
+        /// <summary>
+        /// This is the App secret provided by Dropbox
+        /// </summary>
+        const string appSecret = "dummy";
 
         public static DropNetClient Client
         {
             get
             {
-                return new DropNetClient(consumerKey, consumerSecret);
+                return new DropNetClient(appKey, appSecret);
             }
         }
 
         public static DropNetClient AuthenticatedClient(NetworkCredential credential)
         {
-            return new DropNetClient(consumerKey, consumerSecret, credential.UserName, credential.Password);
+            return new DropNetClient(appKey, appSecret, credential.UserName, credential.Password);
         }
     }
 }