mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
20 lines
687 B
C#
20 lines
687 B
C#
|
|
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);
|
|
|
|
/// <summary>
|
|
/// Gets the authorization information.
|
|
/// </summary>
|
|
/// <param name="requestContext">The request context.</param>
|
|
/// <returns>AuthorizationInfo.</returns>
|
|
AuthorizationInfo GetAuthorizationInfo(IServiceRequest requestContext);
|
|
}
|
|
}
|