mirror of
				https://git.tt-rss.org/fox/tt-rss.git
				synced 2025-11-04 05:41:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			490 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			490 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
interface IAuthModule {
 | 
						|
	/**
 | 
						|
	 * @param string $login
 | 
						|
	 * @param string $password
 | 
						|
	 * @param string $service
 | 
						|
	 * @return int|false user_id
 | 
						|
	 */
 | 
						|
	function authenticate($login, $password, $service = '');
 | 
						|
 | 
						|
	/** this is a pluginhost compatibility wrapper that invokes $this->authenticate(...$args) (Auth_Base)
 | 
						|
 	 * @param string $login
 | 
						|
	 * @param string $password
 | 
						|
	 * @param string $service
 | 
						|
	 * @return int|false user_id
 | 
						|
	 */
 | 
						|
	function hook_auth_user($login, $password, $service = '');
 | 
						|
}
 |