Authentication.php (390B)
1 <?php 2 3 namespace Ssh; 4 5 /** 6 * Interface that must be implemented by the authentication classes 7 * 8 * @author Antoine Hérault <antoine.herault@gmail.com> 9 */ 10 interface Authentication 11 { 12 /** 13 * Authenticates the given SSH session 14 * 15 * @param resource $session 16 * 17 * @return Boolean TRUE on success, or FALSE on failure 18 */ 19 function authenticate($session); 20 }