mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
update connect
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System.Threading.Tasks;
|
||||
using MediaBrowser.Model.Connect;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.Controller.Connect
|
||||
{
|
||||
@@ -24,5 +26,26 @@ namespace MediaBrowser.Controller.Connect
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task RemoveLink(string userId);
|
||||
|
||||
/// <summary>
|
||||
/// Invites the user.
|
||||
/// </summary>
|
||||
/// <param name="sendingUserId">The sending user identifier.</param>
|
||||
/// <param name="connectUsername">The connect username.</param>
|
||||
/// <returns>Task<UserLinkResult>.</returns>
|
||||
Task<UserLinkResult> InviteUser(string sendingUserId, string connectUsername);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the pending guests.
|
||||
/// </summary>
|
||||
/// <returns>Task<List<ConnectAuthorization>>.</returns>
|
||||
Task<List<ConnectAuthorization>> GetPendingGuests();
|
||||
|
||||
/// <summary>
|
||||
/// Cancels the authorization.
|
||||
/// </summary>
|
||||
/// <param name="id">The identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task CancelAuthorization(string id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user