You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
477 B
20 lines
477 B
#nullable enable
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
{
|
|
/// <summary>
|
|
/// IAuthService.
|
|
/// </summary>
|
|
public interface IAuthService
|
|
{
|
|
/// <summary>
|
|
/// Authenticate request.
|
|
/// </summary>
|
|
/// <param name="request">The request.</param>
|
|
/// <returns>Authorization information. Null if unauthenticated.</returns>
|
|
AuthorizationInfo Authenticate(HttpRequest request);
|
|
}
|
|
}
|