mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Update authorization policies for SyncPlay
This commit is contained in:
@@ -51,5 +51,12 @@ namespace MediaBrowser.Controller.SyncPlay
|
||||
/// <param name="request">The request.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
void HandleRequest(SessionInfo session, IGroupPlaybackRequest request, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether a user has an active session using SyncPlay.
|
||||
/// </summary>
|
||||
/// <param name="userId">The user identifier to check.</param>
|
||||
/// <returns><c>true</c> if the user is using SyncPlay; <c>false</c> otherwise.</returns>
|
||||
bool IsUserActive(Guid userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user