aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Authentication/AuthenticationResult.cs
blob: daf4d963131b1db3e026a4abca4d515aba9b262c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#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; }
}