mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
update connect
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.Connect;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Server.Implementations.Connect
|
||||
@@ -20,22 +20,11 @@ namespace MediaBrowser.Server.Implementations.Connect
|
||||
/// Gets or sets the authorizations.
|
||||
/// </summary>
|
||||
/// <value>The authorizations.</value>
|
||||
public List<ConnectAuthorization> Authorizations { get; set; }
|
||||
public List<ConnectAuthorization> PendingAuthorizations { get; set; }
|
||||
|
||||
public ConnectData()
|
||||
{
|
||||
Authorizations = new List<ConnectAuthorization>();
|
||||
}
|
||||
}
|
||||
|
||||
public class ConnectAuthorization
|
||||
{
|
||||
public string LocalUserId { get; set; }
|
||||
public string AccessToken { get; set; }
|
||||
|
||||
public ConnectAuthorization()
|
||||
{
|
||||
AccessToken = new Guid().ToString("N");
|
||||
PendingAuthorizations = new List<ConnectAuthorization>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user