Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #609

[RELEASE] sanction 0.1.2 - dead easy OAuth2 client

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <news@google.com>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.191
X-Spam-Level *
X-Spam-Evidence '*H*': 0.62; '*S*': 0.00; 'flows': 0.07; 'currently,': 0.09; 'url:github': 0.09; 'library': 0.15; '(include': 0.16; 'credential': 0.16; 'natively,': 0.16; 'subject:dead': 0.16; 'subject:] ': 0.19; 'are:': 0.20; 'header :User-Agent:1': 0.26; 'supported': 0.26; 'library.': 0.27; 'header:X-Complaints-To:1': 0.28; 'efficiently': 0.29; 'protocol.': 0.29; 'header:Received:8': 0.30; 'code': 0.31; 'skip:- 30': 0.31; 'handle': 0.33; 'received:prod.google.com': 0.33; 'skip:- 20': 0.34; 'received:google.com': 0.34; 'received:10.192': 0.34; 'received:209.85': 0.35; 'method': 0.36; 'client': 0.36; 'test': 0.36; 'should': 0.36; 'subject:[': 0.37; 'received:209': 0.37; 'received:10': 0.38; 'received:209.85.214': 0.39; 'google': 0.39; 'most': 0.61; 'facebook': 0.61; 'dead': 0.62; 'due': 0.66; 'levels': 0.66; 'to:addr:comp-lang-python- announce': 0.70; 'lack': 0.71; 'goal': 0.74; 'received:130': 0.75; 'goals': 0.78; 'to:addr:moderators.isc.org': 0.79; 'received:130.133': 0.82; 'received:130.133.4': 0.82; 'received:130.133.4.7': 0.82; 'received:individual.net': 0.82; 'received:moderators.individual.net': 0.82
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-authentication-warning:to:path:from:newsgroups:subject:date :organization:lines:message-id:nntp-posting-host:mime-version :content-type:x-trace:x-complaints-to:nntp-posting-date :complaints-to:injection-info:user-agent:x-gm-message-state; bh=TjyVS8UsJDs7rDFfUg+6BOsdkFgT+Hc1M0BgZSFbmLo=; b=cCVE3BsLefa1EuYNN+vSjBzsLPcvaiX1mwclEraarEgvIfj8opNSqWCmk/fD8OuTcJ QMGUUBE6bKtvLM6YwxpF+YhGB9J1WNkJmamg/OvoATp6opJ5SvZ7unXiA5oWU76I9fqJ qCsjQFJgkgy56K/P0wJnfm/UH08TH/g8MlZJjuidGEaVGvYt15ff0W8HPfuvuP5eyZ8F MW1SIY41M0FQAgPbU4x1OHeGA1OH3CMcDWREPh7Q3tN4+yGqGFx9LcRrygLcO6Sj3vRA t+JMD9Bs9AZxRfBJr+pqJRbnTEKrU22Q+BHVfOpKtZZjrQZeAurgGZiCOGfA1cXQF6UH vJag==
X-Authentication-Warning yws13.prod.google.com: news set sender to news@google.com using -f
To comp-lang-python-announce@moderators.isc.org
From Demian Brecht <demianbrecht@gmail.com>
Newsgroups comp.lang.python.announce
Subject [RELEASE] sanction 0.1.2 - dead easy OAuth2 client
Date Fri, 6 Jul 2012 10:48:19 -0700 (PDT)
Organization http://groups.google.com
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=204.244.13.2; posting-account=US_9zQoAAABOtpKbrs9cDfYpbT6eMPnL
User-Agent G2/1.0
X-Gm-Message-State ALoCoQkd+tXh2PHziUym9Y9BL4x8/JLVb74R3/F75eyIgAnkgrwlTudfn18qRipNqBnRo972wVedB2opZ4bwdlvhdbLZZC7GoWDJLmP2myq80kRPScr9oD9UQ3H8d//aVvFe6rcr6gPyUrAPCC0YaLO+lwMawFwAIi8JhkfJgdIL2L+4m35xFgPYXDD2Q3k+ZAjUix8vfnTsy3pPUpmvStLjheKvIAcESw==
X-Mailman-Approved-At Sun, 08 Jul 2012 06:42:24 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Message-ID <mailman.1903.1341722545.4697.python-announce-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1341722545 news.xs4all.nl 6899 [2001:888:2000:d::a6]:53428
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:609

Show key headers only | View raw


sanction is a lightweight, dead simple client implementation of the OAuth2 protocol. The major goals of the library are:


Support multiple providers
--------------------------
Most providers have varying levels of diversion from the official spec. The goal with this library is to either handle these diversions natively, or expose a method to allow client code to deal with it efficiently and effectively.


Support all server-side OAuth2 flows
------------------------------------
Three of the four OAuth2 flows should be supported by this library. Currently, only authorization code and client credential flows have been tested due to lack of other (known) implementations.


sanction has been tested (lightly) with the following OAuth2 providers and provides sample code for each:

Facebook (include the test API)
Google
Foursquare
bitly
GitHub
StackExchange
Instagram

https://github.com/demianbrecht/sanction

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[RELEASE] sanction 0.1.2 - dead easy OAuth2 client Demian Brecht <demianbrecht@gmail.com> - 2012-07-06 10:48 -0700

csiph-web