dotnetopenauth

How do I use a Service Account to Access the Google Analytics API V3 with .NET C#?

懵懂的女人 提交于 2019-12-17 08:59:13
问题 I realized this question has been previously asked but with little in the way of example code, so I am asking again but with at least a little bit of direction. After hours of searching, I have come up with the following partial implementation. namespace GoogleAnalyticsAPITest.Console { using System.Security.Cryptography.X509Certificates; using DotNetOpenAuth.OAuth2; using Google.Apis.Analytics.v3; using Google.Apis.Analytics.v3.Data; using Google.Apis.Authentication.OAuth2; using Google.Apis

Accessing Yelp's OAuth 1.0a API with DotNetOpenAuth

南笙酒味 提交于 2019-12-14 01:03:46
问题 Has anyone had success using DotNetOpenAuth to access Yelp's v2 api using DotNetOpenAuth? After digging through the examples and the source, this is what I came up with: public class YelpConnector { private static readonly string YelpConsumerKey = ConfigurationManager.AppSettings["YelpConsumerKey"]; private static readonly string YelpConsumerSecret = ConfigurationManager.AppSettings["YelpConsumerSecret"]; private static readonly string YelpToken = ConfigurationManager.AppSettings["YelpToken"]

DotNetOpenID - Identity Provider behind a firewall?

感情迁移 提交于 2019-12-13 17:49:52
问题 Looking at the OpenID protocol, it appears that the relying party needs to send a request to the identity provider. In our situation, this is not exactly ideal since the identity provider is behind a firewall-- our server will not be able to make the request. However, the user accessing our website (client-side, e.g. javascript or redirects) would be able to. So my question is this: does OpenID support an identity provider behind the firewall? If not, is there a secure way of accomplishing

Not able to configure J2ee agent on adding my customized data store for users

别来无恙 提交于 2019-12-13 07:46:42
问题 I am getting the problem in configuring j2ee agent and not able to figure out what is going wrong,if someone can help me out of this proble, my problem is I have configured openam 11 in domain 1 in tomcat server and agentapp in domain2 in tomcat server, now when I create a J2ee agent with Datastore as "OpenDj", I am able to configure my j2ee agent to it, but when I am adding my customized Datastore plugin class which is fetching data from postgre sql, I am able to see the my users and group

DotNetOpenAuth I Need Send Long string in FetchResponse

旧时模样 提交于 2019-12-13 06:54:24
问题 When I send Long string in FetchResponse throw execption Invalid URI: The Uri string is too long. 回答1: AX, or any other OpenID extension, is not designed to carry large payloads. If you have an image or other large binary data to transmit, it's better to make the image accessible via a URL and then transmit the URL over AX. 来源: https://stackoverflow.com/questions/5449044/dotnetopenauth-i-need-send-long-string-in-fetchresponse

DotNetOpenAuth “Sign Out” Button

筅森魡賤 提交于 2019-12-13 06:44:34
问题 Is there a way to render a "Sign Out" button using DotNetOpenAuth. Basically I need some 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 回答1: You can use the standard LoginStatus or LoginView ASP.NET control for this. DotNetOpenAuth doesn't add anything special about a logged in

Auto Login user to website when user is logged in to FB or google - DotNetOpenAuth

£可爱£侵袭症+ 提交于 2019-12-13 04:35:30
问题 I am using DotNetOpenAuth to log in users with FB and Google. When a user visits the website, is there a way to detect that he/she has already logged in to FB or Google and log them automatically? Thank you 回答1: Yes, if your user has already explicitly logged into your web site using Google or Facebook before. For privacy reasons neither provider will allow you to implicitly log their users in without each user explicitly signing into your web site at least once (and clicking "remember me" at

Has anyone successfully implemented OpenID with Mono?

痞子三分冷 提交于 2019-12-12 18:55:41
问题 I am working on a web project where I'd like to use OpenID with Mono on Linux. DotNetOpenAuth has wiki on for configuring OpenID with XSP, but it also listed known issues that have yet to be resolved such as throw an error when using a https certificate. What has been your experience? 回答1: http://wrench.mono-project.com/ is an MVC site I wrote that runs on Mono 2.6.1 using mod_mono and Apache. It uses DotNetOpenAuth. I think all you have to do is use a ~recent version of Mono, and compile the

Azure dev fabric crashes with SocketException when using DotNetOpenAuth

安稳与你 提交于 2019-12-12 15:50:36
问题 I'm trying to run ASP.NET MVC 2 web site under the Windows Azure Dev Fabric using the DotNetOpenAuth OpenID authentication. Azure Dev fabric itself repeatedly crashes (dfloadbalancer.exe), when I authenticate. Are there any workarounds for the issue that allow to use Azure Dev fabric and DotNetOpenAuth? MSDN seems to have some old discussion on the same issue which has been abandoned. System.Net.Sockets.SocketException was unhandled Message=An existing connection was forcibly closed by the

ASP.NET MVC: Implementing an OpenID sign-in page ala NerdDinner v2

。_饼干妹妹 提交于 2019-12-12 14:14:42
问题 Consider the log in page on NerdDinner.com: http://www.nerddinner.com/Account/LogOn Some nice features: jQuery effects on the OpenID choice popups for the other major providers Is this revision of the NerdDinner AccountController and its View available for public download? How would you reinvent this implementation? Any code you can post would be fine. Calling Jon Galloway! 回答1: All of NerdDinner is available for download from CodePlex. NerdDinner uses DotNetOpenAuth for its OpenID support,