mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
update connect link text
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
|
||||
namespace MediaBrowser.Controller.Connect
|
||||
{
|
||||
public class ConnectInvitationRequest
|
||||
{
|
||||
public string LocalUserId { get; set; }
|
||||
|
||||
public string Username { get; set; }
|
||||
|
||||
public string RequesterUserId { get; set; }
|
||||
|
||||
public ConnectUserType Type { get; set; }
|
||||
}
|
||||
|
||||
public enum ConnectUserType
|
||||
{
|
||||
LinkedUser = 1,
|
||||
Guest = 2
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
namespace MediaBrowser.Controller.Connect
|
||||
{
|
||||
public class ConnectUser
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace MediaBrowser.Controller.Connect
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <param name="connectUsername">The connect username.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task LinkUser(string userId, string connectUsername);
|
||||
Task<UserLinkResult> LinkUser(string userId, string connectUsername);
|
||||
|
||||
/// <summary>
|
||||
/// Removes the link.
|
||||
|
||||
8
MediaBrowser.Controller/Connect/UserLinkResult.cs
Normal file
8
MediaBrowser.Controller/Connect/UserLinkResult.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
namespace MediaBrowser.Controller.Connect
|
||||
{
|
||||
public class UserLinkResult
|
||||
{
|
||||
public bool IsPending { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -99,9 +99,9 @@
|
||||
<Compile Include="Collections\CollectionCreationOptions.cs" />
|
||||
<Compile Include="Collections\CollectionEvents.cs" />
|
||||
<Compile Include="Collections\ICollectionManager.cs" />
|
||||
<Compile Include="Connect\ConnectInvitationRequest.cs" />
|
||||
<Compile Include="Connect\ConnectUser.cs" />
|
||||
<Compile Include="Connect\IConnectManager.cs" />
|
||||
<Compile Include="Connect\UserLinkResult.cs" />
|
||||
<Compile Include="Dlna\ControlRequest.cs" />
|
||||
<Compile Include="Dlna\ControlResponse.cs" />
|
||||
<Compile Include="Dlna\DlnaIconResponse.cs" />
|
||||
|
||||
Reference in New Issue
Block a user