开发者

DotNetOpenAuth "Sign Out" Button

开发者 https://www.devze.com 2023-01-05 10:48 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消