// // Copyright (c) PlaceholderCompany. All rights reserved. // namespace Jellyfin.Api.Middleware; using Microsoft.AspNetCore.Builder; /// /// Extension methods for adding WebSocket authentication to the pipeline. /// public static class WebSocketAuthenticationMiddlewareExtensions { /// /// Adds WebSocket authentication to the application pipeline. /// /// The application builder. /// The updated application builder. public static IApplicationBuilder UseWebSocketAuthentication(this IApplicationBuilder appBuilder) { return appBuilder.UseMiddleware(); } }