aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2024-09-05 12:55:15 +0200
committerShadowghost <Ghost_of_Stone@web.de>2024-09-18 15:42:15 +0200
commit7a2427bf07f9036d62c88a75855cd6dc7e8e3064 (patch)
tree8a3211a265a36d35b2d707880d9ca504a5c5ccd4 /MediaBrowser.Controller/Authentication/AuthenticationResult.cs
parent569a41fc2a518672684b28a106241ecd8c9ceb67 (diff)
Add SessionInfoDto, DeviceInfoDto and implement JsonDelimitedArrayConverter.Write
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; }
}