patch 4 Auth/OpenID/Consumer.php

Jonathan Daugherty cygnus at janrain.com
Tue Apr 10 14:27:56 PDT 2007


# querying the openid server gives a problem in
# Auth/OpenID/Consumer.php A second call on function addExtensionArg
# will over write the previous set argument. So the URL will only
# contain a query for the last call (per $key * $namespace that is)

This is by design.  The method is intended to be called only *once*
for required parameters, and only once for optional parameters.  If
you use the OpenID 2 library, there is an entire module dedicated to
the use of Simple Registration which is more straightforward than the
API supplied by the 1.x.x libraries.

-- 
  Jonathan Daugherty
  JanRain, Inc.
  irc.freenode.net: cygnus in #openid
  cygnus.myopenid.com



More information about the Dev mailing list