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