Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RedirectingResponse.AsActionResult() no longer exist, what can I replace that with for DotNetOpenAuth?

I was trying to replicate what Rick is doing here for OpenID implementation: http://www.west-wind.com/weblog/posts/899303.aspx

However, when I get to this part:

return req.RedirectingResponse.AsActionResult();

Then I cannot continue, as AsActionResult is no longer exists, is there any replacement of this?

Thanks alot

like image 230
PlayKid Avatar asked Jun 10 '10 10:06

PlayKid


1 Answers

It still exists. It is an extension method that you only get by having this at the top of your file:

using DotNetOpenAuth.Messaging;
like image 51
Andrew Arnott Avatar answered Oct 22 '22 11:10

Andrew Arnott