diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 17:39:01 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-12-24 17:39:01 +0200 |
| commit | 795444f234f6b45bc83d5c7b28725bd7ebc7ee89 (patch) | |
| tree | 7b2d86f0118c65316e0b9a965a60c1386749369a /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication | |
| parent | 0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b (diff) | |
| download | Tango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.tar.gz Tango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.zip | |
Working on machine service and machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Authentication')
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; } } } |
