Index: openid_ax.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openid_ax/openid_ax.module,v retrieving revision 1.8 diff -u -r1.8 openid_ax.module --- openid_ax.module 10 Aug 2008 18:33:57 -0000 1.8 +++ openid_ax.module 23 Sep 2008 21:53:55 -0000 @@ -69,6 +69,26 @@ } /** + * Return a XRDS for Attribute Exchange service discovery + */ +function openid_ax_xrds($account = NULL) { + $data = array( + 'Type' => array('http://openid.net/srv/ax/1.0'), + ); + + $xrds['openid_ax'] = array( + 'services' => array( + array( + 'priority' => 10, + 'data' => $data + ) + ) + ); + + return $xrds; +} + +/** * Implementation of hook_openid() */ function openid_ax_openid() { Index: openid_ax.info =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openid_ax/openid_ax.info,v retrieving revision 1.2 diff -u -r1.2 openid_ax.info --- openid_ax.info 12 Jul 2008 13:18:12 -0000 1.2 +++ openid_ax.info 23 Sep 2008 21:53:54 -0000 @@ -3,6 +3,7 @@ description = "OpenID Attribute Exchange support helps to fetch and store user attributes between the OpenID Provider and the Relying Party" core = 6.x dependencies[] = openid_provider +dependencies[] = xrds_simple ; Information added by drupal.org packaging script on 2008-07-04 version = "6.x-1.2-alpha3" core = "6.x"