CodeExplorer setIdentity example
$credential =
$this->_credential;
$credentialColumn =
$this->_credentialColumn;
$identity =
$this->_identity;
$identityColumn =
$this->_identityColumn;
$credentialTreatment =
$this->_credentialTreatment;
$expiry = Zend_Date::
now()->
subSecond($this->expiry
);
$this->
setCredential($expiry);
$this->
setCredentialColumn($this->expiryColumn
);
$this->
setIdentity($this->sessionId
);
$this->
setIdentityColumn($this->sessionIdColumn
);
$result = parent::
authenticate();
$this->_credential =
$credential;
$this->_credentialColumn =
$credentialColumn;
$this->_identity =
$identity;
$this->_identityColumn =
$identityColumn;
$this->_credentialTreatment =
$credentialTreatment;
if ($result->
isValid()) {