mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			715 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			715 B
		
	
	
	
		
			C#
		
	
	
	
	
	
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>
 | 
						|
        AuthorizationInfo GetAuthorizationInfo(object requestContext);
 | 
						|
        
 | 
						|
        /// <summary>
 | 
						|
        /// Gets the authorization information.
 | 
						|
        /// </summary>
 | 
						|
        /// <param name="requestContext">The request context.</param>
 | 
						|
        /// <returns>AuthorizationInfo.</returns>
 | 
						|
        AuthorizationInfo GetAuthorizationInfo(IRequest requestContext);
 | 
						|
    }
 | 
						|
}
 |