mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-10-31 02:27:18 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			477 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			477 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| #nullable enable
 | |
| 
 | |
| 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>
 | |
|         AuthorizationInfo Authenticate(HttpRequest request);
 | |
|     }
 | |
| }
 |