2013-07-08 16:13:21 +00:00
|
|
|
|
using MediaBrowser.Model.Dto;
|
2014-01-11 23:07:56 +00:00
|
|
|
|
using MediaBrowser.Model.Session;
|
2013-07-08 16:13:21 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Users
|
|
|
|
|
{
|
|
|
|
|
public class AuthenticationResult
|
|
|
|
|
{
|
2014-01-11 23:07:56 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the user.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The user.</value>
|
2013-07-08 16:13:21 +00:00
|
|
|
|
public UserDto User { get; set; }
|
2014-01-11 23:07:56 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the session information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The session information.</value>
|
|
|
|
|
public SessionInfoDto SessionInfo { get; set; }
|
2014-07-02 18:34:08 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the authentication token.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The authentication token.</value>
|
2014-07-08 01:41:03 +00:00
|
|
|
|
public string AccessToken { get; set; }
|
2014-07-27 22:01:29 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the server identifier.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The server identifier.</value>
|
|
|
|
|
public string ServerId { get; set; }
|
2013-07-08 16:13:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|