2010年4月22日星期四

Re: [fw-auth] Zend_Auth with single field

The API key alone is not enough to authenticate a user (or machine). Usually the API key is attached to a domain name or user account, so you may need the user (or machine) to provide both their identity (domain name, username, etc.) and their credential (the API key).

--
Hector


On Thu, Apr 22, 2010 at 11:41 AM, 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.


没有评论: