Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Nov 6, 2011
  1. Allow Flask-OAuth to be send requests from multiple tokens.

    authored
    Currently, Flask-OAuth supported only a single token per OAuth instance.
    This means that you can, for example, sign up with your Twitter account,
    and send tweets from that account, but if you sign up with multiple
    Twitter accounts, you are unable to send tweets from an arbitrary one of
    them (at least not without residing to evil solutions like keeping
    global state with the "default" OAuth token to use).
    
    What this patch adds:
    
    * Each of OAuth's request methods (get, post, put, delete, and request)
      gets an optional `token` argument, which can be passed in to send the
      request using that token.
    * The token will be passed to the `tokengetter_func`.  The tokengetter
      function thus can be prepared to receive a `token` argument.  For
      example:
    
          @twitter.tokengetter
          def my_token_getter(token=None):
              if token is not None:  # During auth, token won't be passed
                  oauth_secret = get_my_secret_for_token(token)
                  return (token, oauth_secret)
              return None
    
    * For backwards-compatibility, the `token` argument will only be passed
      to the `tokengetter_func` when it is explicitly passed as a kwarg to
      one of the request methods.
Commits on Sep 7, 2011
  1. @mitsuhiko
  2. @mitsuhiko

    0.11

    mitsuhiko authored
  3. @mitsuhiko
  4. @mitsuhiko

    Improved the exception system and made it possible to override the me…

    mitsuhiko authored
    …thod for token authorizations.
  5. @mitsuhiko

    Merge pull request #6 from dag/master

    mitsuhiko authored
    Corrected two typos in the documentation
  6. @mitsuhiko

    0.10

    mitsuhiko authored
  7. @mitsuhiko

    Added facebook support

    mitsuhiko authored
  8. @mitsuhiko

    Also accept text/javascript

    mitsuhiko authored
Commits on Apr 25, 2011
  1. @dag @mitsuhiko

    Typos

    dag authored mitsuhiko committed
    Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
Commits on Apr 23, 2011
  1. @dag

    Typos

    dag authored
Commits on Feb 17, 2011
  1. @steve918 @mitsuhiko

    support for additional request parameters when fetching request token…

    steve918 authored mitsuhiko committed
    …, needed to support Google's implementation which requires a non-standard 'scope' parameter
    
    Signed-off-by: Armin Ronacher <armin.ronacher@active-4.com>
Commits on Aug 6, 2010
  1. @mitsuhiko
  2. @mitsuhiko

    Fixed an invalid call

    mitsuhiko authored
Commits on Jul 16, 2010
  1. @passy @mitsuhiko

    Fixed wrong link target in docs

    passy authored mitsuhiko committed
  2. @passy @mitsuhiko

    Fixed typo in docs

    passy authored mitsuhiko committed
Commits on May 9, 2010
  1. @mitsuhiko

    Fixed an error with twitter

    mitsuhiko authored
  2. @mitsuhiko

    Fixed setup.py

    mitsuhiko authored
  3. @mitsuhiko
  4. @mitsuhiko
  5. @mitsuhiko

    Added docs

    mitsuhiko authored
Commits on May 8, 2010
  1. @mitsuhiko
  2. @mitsuhiko
  3. @mitsuhiko
  4. @mitsuhiko

    Updated README

    mitsuhiko authored
  5. @mitsuhiko
Something went wrong with that request. Please try again.