using MediaBrowser.Controller.Authentication; using MediaBrowser.Controller.Session; using MediaBrowser.Model.Dto; namespace MediaBrowser.Controller.Events.Authentication; /// /// A class representing an authentication result event. /// public class AuthenticationResultEventArgs { /// /// Initializes a new instance of the class. /// /// The . public AuthenticationResultEventArgs(AuthenticationResult result) { User = result.User; SessionInfo = result.SessionInfo; ServerId = result.ServerId; } /// /// Gets or sets the user. /// public UserDto User { get; set; } /// /// Gets or sets the session information. /// public SessionInfo? SessionInfo { get; set; } /// /// Gets or sets the server id. /// public string? ServerId { get; set; } }