I couldn't find anything in documentations about how to add the policy URL to the request when using the dotnetopenid programmatically?
A:
It sounds like the policy URL you're talking about is the privacy policy URL that you can send along with the Simple Registration request. The property you're looking for is ClaimsRequest.PolicyUrl. Here's a snippet that would request a nickname and include your privacy policy:
IAuthenticationRequest req = rp.CreateRequest(/*...*/);
req.AddExtension(new ClaimsRequest {
Nickname = DemandLevel.Request,
PolicyUrl = new Uri("http://yourprivacypolicy"),
});
req.RedirectToProvider();
Andrew Arnott
2009-03-12 14:04:43
Thanks Andrew, I think beside your great dotnetopenid , there should be some usefull documentation or even forum or wiki for that. the google group is seems dead ;/
mohamadreza
2009-03-19 21:18:08
There should definitely be better documentation, I agree. I disagree that the Google Group is dead. We have some excellent conversations on it -- periodically.
Andrew Arnott
2009-03-20 14:12:48