Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(461)

Issue 6448149: goauth2: make the example more general

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by ajstarks
Modified:
13 years, 5 months ago
Reviewers:
adg
CC:
bradfitz
Visibility:
Public.

Description

goauth2: make the example more general This version: 1) is more general, you may specify the api and request 2) uses token caching, making it a more comprehensive example, adding -cache and -cachefile flags 3) tested on Mac OS 10.8, Linux/ARM (Raspberry Pi), and Windows XP. The steps have changed: $ oauthreq -id $ID -secret $SECRET # get the URL to authorize and obtain the code $ oauthreq -id $ID -secret $SECRET -code ..... # use the code, caching the token $ oauthreq -cache # make the request (which of course can be repeated) this file should replace the obsolete buzz.go

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+-1 lines, --1 lines) Patch
~rietveld~placeholder~ View 0 chunks +-1 lines, --1 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b