|
| __construct (DbAdapter $zendDb, $tableName=null, $identityColumn=null, $credentialColumn=null, $credentialValidationCallback=null) |
| __construct() - Sets configuration options
|
|
| setCredentialValidationCallback ($validationCallback) |
| setCredentialValidationCallback() - allows the developer to use a callback as a way of checking the credential.
|
|
| __construct (DbAdapter $zendDb, $tableName=null, $identityColumn=null, $credentialColumn=null) |
| __construct() - Sets configuration options
|
|
| setTableName ($tableName) |
| setTableName() - set the table name to be used in the select query
|
|
| setIdentityColumn ($identityColumn) |
| setIdentityColumn() - set the column name to be used as the identity column
|
|
| setCredentialColumn ($credentialColumn) |
| setCredentialColumn() - set the column name to be used as the credential column
|
|
| setAmbiguityIdentity ($flag) |
| setAmbiguityIdentity() - sets a flag for usage of identical identities with unique credentials.
|
|
| getAmbiguityIdentity () |
| getAmbiguityIdentity() - returns TRUE for usage of multiple identical identities with different credentials, FALSE if not used.
|
|
| getDbSelect () |
| getDbSelect() - Return the preauthentication Db Select object for userland select query modification
|
|
| getResultRowObject ($returnColumns=null, $omitColumns=null) |
| getResultRowObject() - Returns the result row as a stdClass object
|
|
| authenticate () |
| This method is called to attempt an authentication.
|
|
| getCredential () |
| Returns the credential of the account being authenticated, or NULL if none is set.
|
|
| setCredential ($credential) |
| Sets the credential for binding.
|
|
| getIdentity () |
| Returns the identity of the account being authenticated, or NULL if none is set.
|
|
| setIdentity ($identity) |
| Sets the identity for binding.
|
|
|
| authenticateCreateSelect () |
| _authenticateCreateSelect() - This method creates a Zend object that is completely configured to be queried against the database.
|
|
| authenticateValidateResult ($resultIdentity) |
| _authenticateValidateResult() - This method attempts to validate that the record in the resultset is indeed a record that matched the identity provided to this adapter.
|
|
| authenticateValidateResult ($resultIdentity) |
| _authenticateValidateResult() - This method attempts to validate that the record in the resultset is indeed a record that matched the identity provided to this adapter.
|
|
| authenticateCreateSelect () |
| _authenticateCreateSelect() - This method creates a Zend object that is completely configured to be queried against the database.
|
|
| authenticateSetup () |
| _authenticateSetup() - This method abstracts the steps involved with making sure that this adapter was indeed setup properly with all required pieces of information.
|
|
| authenticateQuerySelect (Sql\Select $dbSelect) |
| _authenticateQuerySelect() - This method accepts a Zend object and performs a query against the database with that object.
|
|
| authenticateValidateResultSet (array $resultIdentities) |
| _authenticateValidateResultSet() - This method attempts to make certain that only one record was returned in the resultset
|
|
| authenticateCreateAuthResult () |
| Creates a Zend object from the information that has been collected during the authenticate() attempt.
|
|