2010年4月22日星期四

Re: [fw-auth] Zend_Auth with single field

You can write your own adapter

On Thu, Apr 22, 2010 at 2:41 PM, Laura Dean <ldean@saleamp.com> wrote:

I want to use Zend_Auth for authenticating a web service.  For human
authentication, I use the standard username/password, but for machine
authentication I want to use a single field, an API key, which will be
stored in the database.

As far as I can tell, Zend_Auth_Adapter_DbTable needs two pieces of
information, identity and credential.  What is the best way to use Zend_Auth
with a database table and a single API key?

--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Auth-with-single-field-tp2020996p2020996.html
Sent from the Zend Auth mailing list archive at Nabble.com.


没有评论: