mirror of
https://github.com/jellyfin/jellyfin
synced 2024-09-05 23:53:44 +00:00
Add AccessToken to device
This commit is contained in:
parent
75df6965a0
commit
12fa5c0c41
|
@ -13,13 +13,15 @@ namespace Jellyfin.Data.Entities.Security
|
|||
/// Initializes a new instance of the <see cref="Device"/> class.
|
||||
/// </summary>
|
||||
/// <param name="userId">The user id.</param>
|
||||
/// <param name="accessToken">The access token.</param>
|
||||
/// <param name="appName">The app name.</param>
|
||||
/// <param name="appVersion">The app version.</param>
|
||||
/// <param name="deviceName">The device name.</param>
|
||||
/// <param name="deviceId">The device id.</param>
|
||||
public Device(Guid userId, string appName, string appVersion, string deviceName, string deviceId)
|
||||
public Device(Guid userId, string accessToken, string appName, string appVersion, string deviceName, string deviceId)
|
||||
{
|
||||
UserId = userId;
|
||||
AccessToken = accessToken;
|
||||
AppName = appName;
|
||||
AppVersion = appVersion;
|
||||
DeviceName = deviceName;
|
||||
|
@ -43,6 +45,11 @@ namespace Jellyfin.Data.Entities.Security
|
|||
/// </summary>
|
||||
public Guid UserId { get; private set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the access token.
|
||||
/// </summary>
|
||||
public string AccessToken { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the app name.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue