mirror of https://github.com/jellyfin/jellyfin.git
32 lines
690 B
C#
32 lines
690 B
C#
#nullable disable
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
namespace MediaBrowser.Controller.Authentication;
|
|
|
|
/// <summary>
|
|
/// A class representing an authentication result.
|
|
/// </summary>
|
|
public class AuthenticationResult
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the user.
|
|
/// </summary>
|
|
public UserDto User { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the session info.
|
|
/// </summary>
|
|
public SessionInfoDto SessionInfo { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the access token.
|
|
/// </summary>
|
|
public string AccessToken { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the server id.
|
|
/// </summary>
|
|
public string ServerId { get; set; }
|
|
}
|