mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			495 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			495 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using System.Threading.Tasks;
 | 
						|
using Microsoft.AspNetCore.Http;
 | 
						|
 | 
						|
namespace MediaBrowser.Controller.Net
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// IAuthService.
 | 
						|
    /// </summary>
 | 
						|
    public interface IAuthService
 | 
						|
    {
 | 
						|
        /// <summary>
 | 
						|
        /// Authenticate request.
 | 
						|
        /// </summary>
 | 
						|
        /// <param name="request">The request.</param>
 | 
						|
        /// <returns>Authorization information. Null if unauthenticated.</returns>
 | 
						|
        Task<AuthorizationInfo> Authenticate(HttpRequest request);
 | 
						|
    }
 | 
						|
}
 |