Source of file ValidatableAdapterInterface.php
Size: 1,180 Bytes - Last Modified: 2014-03-12T23:21:18+01:00
/home/theseer/Downloads/ZendFramework-2.3.0/library/Zend/Authentication/Adapter/ValidatableAdapterInterface.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | <?php /** * Zend Framework (http://framework.zend.com/) * * @link http://github.com/zendframework/zf2 for the canonical source repository * @copyright Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ namespace Zend\Authentication\Adapter; interface ValidatableAdapterInterface extends AdapterInterface { /** * Returns the identity of the account being authenticated, or * NULL if none is set. * * @return mixed */ public function getIdentity(); /** * Sets the identity for binding * * @param mixed $identity * @return ValidatableAdapterInterface */ public function setIdentity($identity); /** * Returns the credential of the account being authenticated, or * NULL if none is set. * * @return mixed */ public function getCredential(); /** * Sets the credential for binding * * @param mixed $credential * @return ValidatableAdapterInterface */ public function setCredential($credential); } |