A wrapper to use any valid callback for authentication
| package | Gems | 
|---|---|
| subpackage | Auth | 
| copyright | Copyright (c) 2011 Erasmus MC | 
| license | New BSD License | 
| since | Class available since version 1.5 | 
__construct(callback $callback, string $identity, array $params = array()) 
Ideally the callback should return a \Zend_Auth_Result, when not it should return true or false and in that case this adapter will wrap the result in a \Zend_Auth_Result
callbackA valid callback
stringThe identity to use
arrayArray of parameters needed for the callback
authenticate() : \Zend_Auth_Result
\Zend_Auth_Result$_callback : callback
$_identity : string
$_params : array