[OpenID] How to implement AX with JanRain lib?
AOI NAKANISHI
aoi_nakanishi at cybird.co.jp
Fri Oct 24 04:26:03 UTC 2008
I see. I understand it.
But.. Could you tell me how to do it?
I tried:
$ax_response->getExtensionArgs($response->fields);
instead of
$ax_response->toMessage($response->fields);
It didn't work...
Kevin Turner さんは書きました:
> The two messages you have below are semantically equivalent. Whether
> the alias is 'ext0' or 'myauth' is no matter, in either case this
> means "There is one http://myserver/axschema/Auth.xml response and its
> value is '1'."
>
> If the Drupal AX implementation is broken and assigns meaning to those
> aliases instead of relying on that http://myserver/axschema/Auth.xml
> type, then we will need to do some work to get around this. Half of
> this work is already done,
> Auth_OpenID_AX_FetchResponse.getExtensionArgs does accept a request
> object to match the aliases for, but the toMessage method does not
> pass that argument through. I have logged that as ticket #303 at
> trac.openidenabled.com.
>
> On Wed, Oct 22, 2008 at 9:02 PM, AOI NAKANISHI
> <aoi_nakanishi at cybird.co.jp> wrote:
>
>> This code work for add some parameter:
>> openid.ax.count.ext0=1&
>> openid.ax.mode=fetch_response&
>> openid.ax.type.ext0=http://myserver/axschema/Auth.xml&
>> openid.ax.value.ext0.1=1&
>> openid.signed=assoc_handle,...,
>> ax.count.ext0,
>> ax.mode,
>> ax.type.ext0,
>> ax.value.ext0.1
>>
>> I think it must be:
>> openid.ax.count.myauth=1&
>> openid.ax.mode=fetch_response&
>> openid.ax.type.myauth=http://myserver/axschema/Auth.xml&
>> openid.ax.value.myauth.1=1&
>> openid.signed=assoc_handle,...,
>> ax.count.myauth,
>> ax.mode,
>> ax.type.myauth,
>> ax.value.myauth.1
>
>
More information about the general
mailing list