aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2024-09-19 09:04:01 -0600
committerGitHub <noreply@github.com>2024-09-19 09:04:01 -0600
commitb8ccf7fa709ee4044f8853c982f11be8695caf85 (patch)
treed41bc05adc7a061574ddcde06f4702a86bf01e96 /MediaBrowser.Controller/Authentication/AuthenticationResult.cs
parent93db8990d951649c1d25003e2859776ac80e7440 (diff)
parentd4bde14a0143ae60db5187084dbb8cbf93e77cfd (diff)
Merge pull request #12587 from Shadowghost/session-info-dto
Diffstat (limited to 'MediaBrowser.Controller/Authentication/AuthenticationResult.cs')
-rw-r--r--MediaBrowser.Controller/Authentication/AuthenticationResult.cs33
1 files changed, 22 insertions, 11 deletions
diff --git a/MediaBrowser.Controller/Authentication/AuthenticationResult.cs b/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
index 635e4eb3d..daf4d9631 100644
--- a/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
+++ b/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
@@ -1,20 +1,31 @@
#nullable disable
-#pragma warning disable CS1591
-
-using MediaBrowser.Controller.Session;
using MediaBrowser.Model.Dto;
-namespace MediaBrowser.Controller.Authentication
+namespace MediaBrowser.Controller.Authentication;
+
+/// <summary>
+/// A class representing an authentication result.
+/// </summary>
+public class AuthenticationResult
{
- public class AuthenticationResult
- {
- public UserDto User { get; set; }
+ /// <summary>
+ /// Gets or sets the user.
+ /// </summary>
+ public UserDto User { get; set; }
- public SessionInfo SessionInfo { get; set; }
+ /// <summary>
+ /// Gets or sets the session info.
+ /// </summary>
+ public SessionInfoDto SessionInfo { get; set; }
- public string AccessToken { get; set; }
+ /// <summary>
+ /// Gets or sets the access token.
+ /// </summary>
+ public string AccessToken { get; set; }
- public string ServerId { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the server id.
+ /// </summary>
+ public string ServerId { get; set; }
}