2017-09-03 18:38:26 +00:00
|
|
|
|
using MediaBrowser.Model.Services;
|
|
|
|
|
|
2014-07-02 04:57:18 +00: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 02:31:03 +00:00
|
|
|
|
AuthorizationInfo GetAuthorizationInfo(object requestContext);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets the authorization information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="requestContext">The request context.</param>
|
|
|
|
|
/// <returns>AuthorizationInfo.</returns>
|
2017-09-03 18:38:26 +00:00
|
|
|
|
AuthorizationInfo GetAuthorizationInfo(IRequest requestContext);
|
2014-07-02 04:57:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|