The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Smalltalk Daily 09/29/10: Using Google Client Auth

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Smalltalk Daily 09/29/10: Using Google Client Auth Posted: Sep 29, 2010 6:47 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Smalltalk Daily 09/29/10: Using Google Client Auth
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Today's Smalltalk Daily looks at implementing a client interface to Google services. That required implementing the client login scheme google uses (for desktop clients). Today's screencast covers that client auth scheme. The code I'm demonstrating is in the public store repository under the name GoogleClientAuth - the usage in the screencast is below. To skip to the video, click here.


"get the request token - cl is the calendar service"
gAuth := AuthRequest 
	requestTokenFor: 'cl' 
	user: username
	password: password
	clientName: 'Cincom-VisualWorks-771'.

"now we can start making requests - this makes a 
simple request to the 'own' feed for google calendar"
serviceResponse := ServiceRequest
					makeRequestWith: gAuth 
					requestPrepObject: ExampleRequestPrep new.
feed := serviceResponse contents

To watch now, use the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , , ,

Read: Smalltalk Daily 09/29/10: Using Google Client Auth

Topic: DSL book material on InformIT Previous Topic   Next Topic Topic: Smalltalk Daily 09/27/10: Customizing Debugger Hotkeys

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use