asp.net - DotNetOpenAuth and Google OpenId Params -


I'm still reading using dotnetopenauth and google openid. In Google Docs, they mention some criteria, such as: "openid.ns", "openid.claimed_id", "openid.identity", "openid.ax.type.email" etc ...

Does DotNet OpenOther send all those parameters without their own?

DotNetOpenAuth sets all the openID standard criteria automatically, in which openid.return_to . If you want to customize openid.realm or openid.return_to , then you specify the value for them as the parameter of OpenIdRelyingParty.CreateRequest Can pass. Before you call RedirectToProvider , customize or add other parameters by setting the properties at IAuthenticationRequest returned by setting properties or by optimizing the calling methods. You can.

Specifically, you request the openid.ax.type.email parameter to be included in the form of an essential attribute with the email FetchRequest Extensions can be added by adding them. Then in the response check for the FetchResponse extension.

Comments