aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net/IAuthService.cs
blob: 04b2e13e8c9b086459353484aa9a19f3ed0b6716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
    }
}