Metadata-Version: 1.1
Name: flask-mwoauth
Version: 0.1.35
Summary: Flask blueprint to connect to a MediaWiki OAuth server
Home-page: http://github.com/valhallasw/flask-mwoauth
Author: Merlijn van Deen
Author-email: valhallasw@arctus.nl
License: MIT
Description: flask-mwoauth
        --------------
        .. image:: https://pypip.in/v/flask-mwoauth/badge.png
                :target: https://crate.io/packages/flask-mwoauth
        
        .. image:: https://pypip.in/d/flask-mwoauth/badge.png
                :target: https://crate.io/packages/flask-mwoauth
        	        
        
        Flask blueprint to run OAuth against MediaWiki's extension:OAuth.
        
        The blueprint adds these uris:
         - /login - runs the OAuth handshake and returns the user to /
         
           - /login?next=/someurl will return the user to /someurl
          
         - /logout - clears the users' access tokens
        
           - /logout?next=/someurl will return the user to /someurl
        
         - /oauth-callback - callback from MW to finish the handshake
        
        The users' OAuth key and secret are stored in the session.
        
        
        In addition, flask-mwoauth adds a few convenience functions:
         - `get_current_user(cached=True)` reports who the current user is. To confirm
           the user is still logged in (e.g. tokens have not been revoked), call it
           with cached=False.
         - `request(api_query)` submits an request through the API, using the users'
           access tokens. E.g. the current user request runs
           `request({'action': 'query', 'meta': 'userinfo'})`.
        
        An example app is implemented in `demo.py`.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
