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