diff --git a/src/DynamoCore/Configuration/GraphChecksumItem.cs b/src/DynamoCore/Configuration/GraphChecksumItem.cs
index de6bfdd2fe8..8f5963c52a8 100644
--- a/src/DynamoCore/Configuration/GraphChecksumItem.cs
+++ b/src/DynamoCore/Configuration/GraphChecksumItem.cs
@@ -1,5 +1,4 @@
using System;
-using System.Collections.Generic;
namespace Dynamo.Configuration
{
@@ -13,14 +12,4 @@ public class GraphChecksumItem
public string Checksum { get; set; }
}
-
- ///
- /// Represents the stringified version of the nodes connections from a graph
- ///
- public class GraphChecksumPair
- {
- public string GraphId { get; set; }
-
- public List Checksum { get; set; }
- }
}
diff --git a/src/DynamoCore/Core/IDSDKManager.cs b/src/DynamoCore/Core/IDSDKManager.cs
index c3aff23ea2a..533b0768cc2 100644
--- a/src/DynamoCore/Core/IDSDKManager.cs
+++ b/src/DynamoCore/Core/IDSDKManager.cs
@@ -12,7 +12,7 @@ namespace Dynamo.Core
///
/// The class to provide auth APIs for IDSDK related methods.
///
- public class IDSDKManager : IOAuth2AuthProvider, IOAuth2AccessTokenProvider, IDisposable
+ public class IDSDKManager : IOAuth2AuthProvider, IOAuth2AccessTokenProvider, IOAuth2UserIDProvider, IDisposable
{
///
/// Used by the auth provider to request authentication.
@@ -78,6 +78,18 @@ public string Username
}
}
+ ///
+ /// Gets the userid of the logged in user.
+ ///
+ public string UserId
+ {
+ get
+ {
+ var result = IDSDK_GetUserInfo();
+ return result != null ? result.UserId : String.Empty;
+ }
+ }
+
///
/// Used by the auth provider to sign request with the authorized token.
///
diff --git a/src/DynamoCore/DynamoCore.csproj b/src/DynamoCore/DynamoCore.csproj
index 4f3cdcc70bd..930e9db7436 100644
--- a/src/DynamoCore/DynamoCore.csproj
+++ b/src/DynamoCore/DynamoCore.csproj
@@ -31,7 +31,7 @@
-
+
diff --git a/src/DynamoCore/Models/DynamoModel.cs b/src/DynamoCore/Models/DynamoModel.cs
index 2a41a547573..c13014e3ccf 100644
--- a/src/DynamoCore/Models/DynamoModel.cs
+++ b/src/DynamoCore/Models/DynamoModel.cs
@@ -155,11 +155,6 @@ internal LuceneSearchUtility LuceneUtility
///
internal Dictionary> GraphChecksumDictionary { get; set; }
- ///
- /// Return a list of GraphChecksumItems
- ///
- public List GraphChecksumList { get; set; }
-
#endregion
#region static properties
@@ -992,7 +987,6 @@ protected DynamoModel(IStartConfiguration config)
LuceneUtility.DisposeWriter();
}
- GraphChecksumList = new List();
GraphChecksumDictionary = new Dictionary>();
// This event should only be raised at the end of this method.
diff --git a/src/DynamoCore/PublicAPI.Unshipped.txt b/src/DynamoCore/PublicAPI.Unshipped.txt
index b2d6700c3d2..f1d04bf7b45 100644
--- a/src/DynamoCore/PublicAPI.Unshipped.txt
+++ b/src/DynamoCore/PublicAPI.Unshipped.txt
@@ -107,12 +107,6 @@ Dynamo.Configuration.GraphChecksumItem.Checksum.set -> void
Dynamo.Configuration.GraphChecksumItem.GraphChecksumItem() -> void
Dynamo.Configuration.GraphChecksumItem.GraphId.get -> string
Dynamo.Configuration.GraphChecksumItem.GraphId.set -> void
-Dynamo.Configuration.GraphChecksumPair
-Dynamo.Configuration.GraphChecksumPair.Checksum.get -> System.Collections.Generic.List
-Dynamo.Configuration.GraphChecksumPair.Checksum.set -> void
-Dynamo.Configuration.GraphChecksumPair.GraphChecksumPair() -> void
-Dynamo.Configuration.GraphChecksumPair.GraphId.get -> string
-Dynamo.Configuration.GraphChecksumPair.GraphId.set -> void
Dynamo.Configuration.GroupStyleItem
Dynamo.Configuration.GroupStyleItem.GroupStyleItem() -> void
Dynamo.Configuration.PreferenceSettings
@@ -374,6 +368,7 @@ Dynamo.Core.IDSDKManager.LoginStateChanged -> System.Action void
Dynamo.Core.IDSDKManager.RequestLogin -> System.Func