Property | Type | Description | |
---|---|---|---|
$_authenticateResultInfo | array | $_authenticateResultInfo | |
$_credential | string | $_credential - Credential values | |
$_credentialColumn | string | $_credentialColumns - columns to be used as the credentials | |
$_credentialTreatment | string | $_credentialTreatment - Treatment applied to the credential, such as MD5() or PASSWORD() | |
$_identity | string | $_identity - Identity value | |
$_identityColumn | string | $_identityColumn - the column to use as the identity | |
$_modelName | string | $_tableName - the table name to check | |
$_result | array | $_result - Results of database authentication query |
Method | Description | |
---|---|---|
__construct ( string $modelName = null, string $identityColumn = null, string $credentialColumn = null, string $credentialTreatment = null ) : void | __construct() - Sets configuration options | |
authenticate ( ) : Zend_Auth_Result | authenticate() - defined by Zend_Auth_Adapter_Interface. This method is called to attempt an authentication. Previous to this call, this adapter would have already been configured with all necessary information to successfully connect to a database table and attempt to find a record matching the provided identity. | |
setCredential ( string $credential ) : ZFExt_Auth_Adapter_Doctrine | setCredential() - set the credential value to be used, optionally can specify a treatment to be used, should be supplied in parameterized form, such as 'MD5(?)' or 'PASSWORD(?)' | |
setCredentialColumn ( string $credentialColumn ) : ZFExt_Auth_Adapter_Doctrine | setCredentialColumn() - set the column name to be used as the credential column | |
setCredentialTreatment ( string $treatment ) : ZFExt_Auth_Adapter_Doctrine | setCredentialTreatment() - Sets a hash algorithm passed to PHP's hash() before the password is added to a SELECT query. The DB's expressions are not used (it's my class damn it! :p) since many are simply weak or inappropriate anyway. | |
setIdentity ( string $value ) : ZFExt_Auth_Adapter_Doctrine | setIdentity() - set the value to be used as the identity | |
setIdentityColumn ( string $identityColumn ) : ZFExt_Auth_Adapter_Doctrine | setIdentityColumn() - set the column name to be used as the identity column | |
setModelName ( string $modelName ) : ZFExt_Auth_Adapter_Doctrine | setModelName() - set the model name to be used in the select query |
Method | Description | |
---|---|---|
_authenticateCreateAuthResult ( ) : Zend_Auth_Result | _authenticateCreateAuthResult() - Creates a Zend_Auth_Result object from the information that has been collected during the authenticate() attempt. | |
_authenticateSetup ( ) : true | _authenticateSetup() - This method abstracts the steps involved with making sure that this adapter was indeed setup properly with all required pieces of information. | |
_authenticateValidateResultSet ( array $resultIdentities ) : true | Zend_Auth_Result | _authenticateValidateResultSet() - This method attempts to make certain that only one record was returned in the resultset |
protected _authenticateCreateAuthResult ( ) : Zend_Auth_Result | ||
return | Zend_Auth_Result |
protected _authenticateSetup ( ) : true | ||
return | true |
protected _authenticateValidateResultSet ( array $resultIdentities ) : true | Zend_Auth_Result | ||
$resultIdentities | array | |
return | true | Zend_Auth_Result |
public authenticate ( ) : Zend_Auth_Result | ||
return | Zend_Auth_Result |
public setCredential ( string $credential ) : ZFExt_Auth_Adapter_Doctrine | ||
$credential | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
public setCredentialColumn ( string $credentialColumn ) : ZFExt_Auth_Adapter_Doctrine | ||
$credentialColumn | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
public setCredentialTreatment ( string $treatment ) : ZFExt_Auth_Adapter_Doctrine | ||
$treatment | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
public setIdentity ( string $value ) : ZFExt_Auth_Adapter_Doctrine | ||
$value | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
public setIdentityColumn ( string $identityColumn ) : ZFExt_Auth_Adapter_Doctrine | ||
$identityColumn | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
public setModelName ( string $modelName ) : ZFExt_Auth_Adapter_Doctrine | ||
$modelName | string | |
return | ZFExt_Auth_Adapter_Doctrine | Provides a fluent interface |
protected array $_authenticateResultInfo | ||
return | array |
protected string $_credential | ||
return | string |
protected string $_credentialColumn | ||
return | string |
protected string $_credentialTreatment | ||
return | string |
protected string $_identityColumn | ||
return | string |
protected string $_modelName | ||
return | string |
protected array $_result | ||
return | array |