using MediaBrowser.Model.Services;
using Microsoft.AspNetCore.Http;
namespace MediaBrowser.Controller.Net
{
///
/// IAuthorization context.
///
public interface IAuthorizationContext
{
///
/// Gets the authorization information.
///
/// The request context.
/// AuthorizationInfo.
AuthorizationInfo GetAuthorizationInfo(object requestContext);
///
/// Gets the authorization information.
///
/// The request context.
/// AuthorizationInfo.
AuthorizationInfo GetAuthorizationInfo(IRequest requestContext);
///
/// Gets the authorization information.
///
/// The request context.
/// AuthorizationInfo.
AuthorizationInfo GetAuthorizationInfo(HttpRequest requestContext);
}
}