aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Authentication
diff options
context:
space:
mode:
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; }
}
}