mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
28 lines
836 B
C#
28 lines
836 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace MediaBrowser.Controller.Connect
|
|
{
|
|
public interface IConnectManager
|
|
{
|
|
/// <summary>
|
|
/// Gets the wan API address.
|
|
/// </summary>
|
|
/// <value>The wan API address.</value>
|
|
string WanApiAddress { get; }
|
|
|
|
/// <summary>
|
|
/// Links the user.
|
|
/// </summary>
|
|
/// <param name="userId">The user identifier.</param>
|
|
/// <param name="connectUsername">The connect username.</param>
|
|
/// <returns>Task.</returns>
|
|
Task<UserLinkResult> LinkUser(string userId, string connectUsername);
|
|
|
|
/// <summary>
|
|
/// Removes the link.
|
|
/// </summary>
|
|
/// <param name="userId">The user identifier.</param>
|
|
/// <returns>Task.</returns>
|
|
Task RemoveLink(string userId);
|
|
}
|
|
}
|