using System; using Jellyfin.Data.Entities; namespace MediaBrowser.Controller.Net { public class AuthorizationInfo { /// /// Gets the user identifier. /// /// The user identifier. public Guid UserId => User?.Id ?? Guid.Empty; /// /// Gets or sets the device identifier. /// /// The device identifier. public string DeviceId { get; set; } /// /// Gets or sets the device. /// /// The device. public string Device { get; set; } /// /// Gets or sets the client. /// /// The client. public string Client { get; set; } /// /// Gets or sets the version. /// /// The version. public string Version { get; set; } /// /// Gets or sets the token. /// /// The token. public string Token { get; set; } public User User { get; set; } } }