aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-24 17:39:01 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-24 17:39:01 +0200
commit795444f234f6b45bc83d5c7b28725bd7ebc7ee89 (patch)
tree7b2d86f0118c65316e0b9a965a60c1386749369a /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication
parent0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b (diff)
downloadTango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.tar.gz
Tango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.zip
Working on machine service and machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
index 450756705..4acc76c25 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication/DefaultAuthenticationProvider.cs
@@ -63,6 +63,8 @@ namespace Tango.MachineStudio.UI.Authentication
}).Result;
+ AccessToken = response.Token;
+
ObservablesContext.OverrideSettingsDataSource(response.DataSource);
ObservablesStaticCollections.Instance.Initialize();
@@ -107,5 +109,10 @@ namespace Tango.MachineStudio.UI.Authentication
{
CurrentUser = null;
}
+
+ /// <summary>
+ /// Gets the access token that was retrieved at the last login.
+ /// </summary>
+ public string AccessToken { get; private set; }
}
}