DotNetOpenAuth "Sign Out" Button
Is there a way to render a "Sign Out" button using DotNetOpenAuth.
Basically I need s开发者_StackOverflow社区ome sort of Log In status control, that would display the OpenId login form, just like OpenIdLogin Control does, if the user is not logged in and it would show a Sign Out link along with some sort of message like "Welcome back user" once the user logs on.
Thanks!
Zen
You can use the standard LoginStatus
or LoginView
ASP.NET control for this. DotNetOpenAuth doesn't add anything special about a logged in user -- you typically just use FormsAuthentication with it.
精彩评论