2017-09-03 20:38:26 +02:00
|
|
|
|
using MediaBrowser.Model.Services;
|
|
|
|
|
|
2014-07-02 06:57:18 +02:00
|
|
|
|
namespace MediaBrowser.Controller.Net
|
|
|
|
|
{
|
|
|
|
|
public interface IAuthorizationContext
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the authorization information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="requestContext">The request context.</param>
|
|
|
|
|
/// <returns>AuthorizationInfo.</returns>
|
2014-11-15 03:31:03 +01:00
|
|
|
|
AuthorizationInfo GetAuthorizationInfo(object requestContext);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the authorization information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="requestContext">The request context.</param>
|
|
|
|
|
/// <returns>AuthorizationInfo.</returns>
|
2017-09-03 20:38:26 +02:00
|
|
|
|
AuthorizationInfo GetAuthorizationInfo(IRequest requestContext);
|
2014-07-02 06:57:18 +02:00
|
|
|
|
}
|
|
|
|
|
}
|