PHP Class Newscoop\Auth\Adapter

Inheritance: implements Zend_Auth_Adapter_Interfac\Zend_Auth_Adapter_Interface
Exibir arquivo Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$password string
$repository Doctrine\ORM\EntityRepository
$username string

Public Methods

Method Description
__construct ( Doctrine\ORM\EntityRepository $repository, string $username, string $password )
authenticate ( ) : Zend_Auth_Result Authenticate user

Method Details

__construct() public method

public __construct ( Doctrine\ORM\EntityRepository $repository, string $username, string $password )
$repository Doctrine\ORM\EntityRepository
$username string
$password string

authenticate() public method

Authenticate user
public authenticate ( ) : Zend_Auth_Result
return Zend_Auth_Result

Property Details

$password protected_oe property

protected string $password
return string

$repository protected_oe property

protected EntityRepository,Doctrine\ORM $repository
return Doctrine\ORM\EntityRepository

$username protected_oe property

protected string $username
return string