jellyfin/MediaBrowser.Controller/Net/IAuthService.cs

19 lines
495 B
C#
Raw Normal View History

2021-05-21 03:56:59 +00:00
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
2018-12-27 23:27:57 +00:00
namespace MediaBrowser.Controller.Net
{
/// <summary>
/// IAuthService.
/// </summary>
2018-12-27 23:27:57 +00:00
public interface IAuthService
{
/// <summary>
/// Authenticate request.
/// </summary>
/// <param name="request">The request.</param>
/// <returns>Authorization information. Null if unauthenticated.</returns>
2021-05-21 03:56:59 +00:00
Task<AuthorizationInfo> Authenticate(HttpRequest request);
2018-12-27 23:27:57 +00:00
}
}