Property | Type | Description | |
---|---|---|---|
$em | |||
string | |||
$is_admin | boolean | ||
$is_external | boolean | ||
$password | string | ||
$username | string |
Method | Description | |
---|---|---|
__construct ( |
||
authenticate ( ) : Zend_Auth_Result | Perform authentication attempt | |
findByCredentials ( string $email, string $password ) : Newscoop\Entity\User | Find by credentials | |
setAdmin ( boolean $admin = true ) : Newscoop\Services\AuthService | Set is admin constrain | |
setEmail ( string $email ) : Newscoop\Services\AuthService | Set email | |
setExternal ( boolean $external = true ) : Newscoop\Services\AuthService | Set is external constrain | |
setPassword ( string $password ) : Newscoop\Services\Auth\DoctrineAuthService | Set password | |
setUsername ( string $username ) : Newscoop\Services\Auth\DoctrineAuthService | Set username |
public authenticate ( ) : Zend_Auth_Result | ||
return | Zend_Auth_Result |
public findByCredentials ( string $email, string $password ) : Newscoop\Entity\User | ||
string | ||
$password | string | |
return | Newscoop\Entity\User |
public setExternal ( boolean $external = true ) : Newscoop\Services\AuthService | ||
$external | boolean | |
return | Newscoop\Services\AuthService |
public setPassword ( string $password ) : Newscoop\Services\Auth\DoctrineAuthService | ||
$password | string | |
return | Newscoop\Services\Auth\DoctrineAuthService |
public setUsername ( string $username ) : Newscoop\Services\Auth\DoctrineAuthService | ||
$username | string | |
return | Newscoop\Services\Auth\DoctrineAuthService |
protected EntityManager,Doctrine\ORM $em | ||
return |