2010年4月22日星期四

Re: [fw-auth] Zend_Auth with single field

What about an approach of public and private API key, where the public
key represents the identity and the private key represents the
credential?

The other approach would be to write your own adapter, like it was
mentioned before.

Am 22.04.2010 um 20:41 schrieb Laura Dean <ldean@saleamp.com>:

>
> 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.
>

没有评论: