KeyAdapter

Auth adapter for checking API keys through Doctrine.
extends Zend\Authentication\Adapter\AbstractAdapter
Methods Summary
public
# __construct( Doctrine\ORM\EntityRepository $repository , Doctrine\ORM\EntityManager $entityManager )
Create the adapter.
public
# authenticate( )
{@inheritDoc}
public
# setRepository( Doctrine\ORM\EntityRepository $repository )
Set the repository to use to look up keys.
public
# getRepository( )
Get the repository used to look up keys.
public
# setEntityManager( Doctrine\ORM\EntityManager $entityManager )
Set the entity manager.
public
# getEntityManager( )
Get the entity manager.
Methods inherited from Zend\Authentication\Adapter\AbstractAdapter
getCredential(), setCredential(), getIdentity(), setIdentity()
Properties Summary
protected Doctrine\ORM\EntityRepository $repository
# NULL
Properties inherited from Zend\Authentication\Adapter\AbstractAdapter
$credential, $identity