jellyfin-server/MediaBrowser.Controller/Net/IAuthorizationContext.cs

22 lines
704 B
C#
Raw Normal View History

using MediaBrowser.Model.Services;
2018-12-27 23:27:57 +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>
AuthorizationInfo GetAuthorizationInfo(object requestContext);
2019-01-07 23:27:46 +00:00
2018-12-27 23:27:57 +00:00
/// <summary>
/// Gets the authorization information.
/// </summary>
/// <param name="requestContext">The request context.</param>
/// <returns>AuthorizationInfo.</returns>
AuthorizationInfo GetAuthorizationInfo(IRequest requestContext);
}
}