0
내 오픈 ID 솔루션을 Dotnetopenid을 사용하고, 다 괜찮습니다 없는. 아이디어가 있으십니까?DotNetOpenID 프로그래밍 로그인
OpenIdRelyingParty openid = createRelyingParty();
if (openid.Response != null) {
switch (openid.Response.Status) {
case AuthenticationStatus.Authenticated:
// This is where you would look for any OpenID extension responses included
// in the authentication assertion.
// var extension = openid.Response.GetExtension<SomeExtensionResponseType>();
// Use FormsAuthentication to tell ASP.NET that the user is now logged in,
// with the OpenID Claimed Identifier as their username.
State.ProfileFields = openid.Response.GetExtension<DotNetOpenId.Extensions.SimpleRegistration.ClaimsResponse>();
FormsAuthentication.RedirectFromLoginPage(openid.Response.ClaimedIdentifier, false);
break;
MVC에서 DotNetOpenId를 구현하는 단계별 지침을 참조하십시오. 저는 MVC와 OpenId의 초보자입니다. – Picflight
@Picflight 여기에서 확인할 수 있습니다. http://stackoverflow.com/questions/933884/request-for-tutorial-to-add-openid-support-to-nerddinner-asp-net-mvc-application – mohamadreza