jellyfin/MediaBrowser.Controller/Net/IAuthService.cs

20 lines
477 B
C#
Raw Normal View History

#nullable enable
using Microsoft.AspNetCore.Http;
2018-12-28 00:27:57 +01:00
namespace MediaBrowser.Controller.Net
{
/// <summary>
/// IAuthService.
/// </summary>
2018-12-28 00:27:57 +01:00
public interface IAuthService
{
/// <summary>
/// Authenticate request.
/// </summary>
/// <param name="request">The request.</param>
/// <returns>Authorization information. Null if unauthenticated.</returns>
AuthorizationInfo Authenticate(HttpRequest request);
2018-12-28 00:27:57 +01:00
}
}