//
// Copyright (c) PlaceholderCompany. All rights reserved.
//
namespace MediaBrowser.Controller.Net
{
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
///
/// IAuthorization context.
///
public interface IAuthorizationContext
{
///
/// Gets the authorization information.
///
/// The request context.
/// A task containing the authorization info.
Task GetAuthorizationInfo(HttpContext requestContext);
///
/// Gets the authorization information.
///
/// The request context.
/// A containing the authorization info.
Task GetAuthorizationInfo(HttpRequest requestContext);
}
}