This code shows how to use Attribute Exchange with DotNetOpenAuth.
But what if I have my own closed Provider and want to use custom attributes, for example the FavoriteFlavor
attribute defined in the AcmeRequest
as part of the DNOA samples; what do I have to do with DNOA to make the request look like something like (but for my FavoriteFlavor request):
openid.ns.ax=http://openid.net/srv/ax/1.0
openid.ax.mode=fetch_request
openid.ax.required=name,hackergotchi
openid.ax.if_available=email,web
openid.ax.type.name=http://axschema.org/namePerson
openid.ax.type.email=http://axschema.org/contact/email
openid.ax.type.hackergotchi=http://axschema.org/media/image/default
openid.ax.type.web=http://axschema.org/contact/web/default
as defined in http://blogs.gnome.org/jamesh/2007/11/26/openid-ax/: