jellyfin/MediaBrowser.Controller/Net/IAuthorizationContext.cs

22 lines
715 B
C#
Raw Normal View History

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