background preloader

Google API

Facebook Twitter

OpenID Connect Demo. The user is presented with an element enticing them to login.

OpenID Connect Demo

In the simplest case, you can redirect the browser to a resource on the OpenID Connect provider. Popups are probably a tad better. The request should include parameters to approximate the permissions the application is requesting. These parameters are shown below. Scope is a concatenated list of requested permissions.

State is used to correlate the response. Redirect_uri is registered with the Authorization server a prioris, and the Authorization Server uses it as a target for the response. response_type indicates whether or not the site would like an access token or a code+refresh token. Client_id is used along with the redirect_uri to signal to the Authorization Server the application making the request. OAuth 2.0 with Gmail over IMAP for installed applications. OAuth is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications.

OAuth 2.0 with Gmail over IMAP for installed applications

This article describes using OAuth 2.0 to access Gmail IMAP and SMTP servers using .NET IMAP component in installed applications scenario. You can also use OAuth 2.0 for web applications. DotNetOpenAuth First download the latest version of DotNetOpenAuth – it’s free, open source library that implements OAuth 2.0: Register Application Before you can use OAuth 2.0, you must register your application using the Google APIs Console. Now we can define clientID, clientSecret and scope variables, as well as Google OAuth 2.0 server addresses. Obtain an OAuth 2.0 access token As we are using installed applications scenario we’ll use NativeApplicationClient class. Because of a small issue in DotNetOpenAuth we can not use UserAgentClient directly. We are using Process.Start here, but you can also embed WebBrowser control in your application.

Access IMAP/SMTP server. DotNetOpenAuth. DotNetOpenAuth 4.0 has shipped. There are breaking changes, mostly in your web.config file if you've previously had entries related to DotNetOpenAuth, so upgrade carefully. But if you're installing DotNetOpenAuth into a new project, it's never been easier to now with much more complete NuGet support. If you like to review work completed in this release, you may review the GitHub milestone .

Get it now We need your help and financial contributions. {*style:<b>Q: Is there any compelling reason to upgrade? </b>*}A: If you're using v3.4.7 and happy with it, no, there's no big reason to upgrade yet. A: NuGet provides a very convenient way to not only obtain the current release of DotNetOpenAuth, but to automatically be notified of updates when they become available and to install them into your applications. Mausch/GDataDB. Gdata - .NET library for the Google Data API. Jim Fiorato's Blog: Using Google Spreadsheets as Your Application's Database. Chances are if you're reading this blog you've likely created at least a handful of quick and dirty data driven web sites.

Jim Fiorato's Blog: Using Google Spreadsheets as Your Application's Database

If you're a Microsoft technologist, you usually throw together something using SQL Server Express. This always poses a problem for me, because I don't have hosting that includes SQL Server, and if I want it, it's a bit cost prohibitive. One thing I've been investigating is using Google Spreadsheets as my database for these simple quick applications. Apps Platform. Important: Version 3 of the Google Documents List API has been officially deprecated as of September 14, 2012.

Apps Platform

It will continue to work as per our deprecation policy, but we encourage you to move to the Google Drive API. The Google Documents List API allows client applications to view and manipulate files in a user's Documents List. Your application can use this API to store files and to integrate the Google Docs experience. Introduction This guide discusses how to use the Google Documents List API version 3.0. What can this API do? The Google Documents List API allows developers to create, retrieve, update, and delete Google Docs (including but not limited to text documents, spreadsheets, presentations, and drawings), files, and collections. You will find this API useful if you need to store data in the cloud, perform resource management, convert document formats, etc. Audience Terminology used in this guide document file collection A container of other documents, files, or collections. Java.