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