aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/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.Common/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.Common/Authentication')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/IAuthenticationProvider.cs5
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/LoginResponse.cs1
2 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/IAuthenticationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/IAuthenticationProvider.cs
index 0c2aa3cb7..785dc1523 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/IAuthenticationProvider.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/IAuthenticationProvider.cs
@@ -13,6 +13,11 @@ namespace Tango.MachineStudio.Common.Authentication
public interface IAuthenticationProvider
{
/// <summary>
+ /// Gets the access token that was retrieved at the last login.
+ /// </summary>
+ String AccessToken { get; }
+
+ /// <summary>
/// Occurs when the current logged-in user has changed.
/// </summary>
event EventHandler<User> CurrentUserChanged;
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/LoginResponse.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/LoginResponse.cs
index 075a5ec10..3da033b9f 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/LoginResponse.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication/LoginResponse.cs
@@ -11,5 +11,6 @@ namespace Tango.MachineStudio.Common.Authentication
public class LoginResponse : WebResponseMessage
{
public DataSource DataSource { get; set; }
+ public String Token { get; set; }
}
}