Metadata-Version: 2.0
Name: muffin-oauth
Version: 0.0.9
Summary: UNKNOWN
Home-page: https://github.com/klen/muffin-oauth
Author: Kirill Klenov
Author-email: horneds@gmail.com
License: MIT
Keywords: asynction,aiohttp,muffin,oauth
Platform: Any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Natural Language :: Russian
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Dist: aioauth-client (>=0.2.0)
Requires-Dist: muffin (>=0.0.52)
Requires-Dist: muffin-session (>=0.0.5)

Muffin-OAuth
############

.. _description:

Muffin-OAuth -- Support OAUTH authentication in Muffin Framework.

.. _badges:

.. image:: http://img.shields.io/travis/klen/muffin-oauth.svg?style=flat-square
    :target: http://travis-ci.org/klen/muffin-oauth
    :alt: Build Status

.. image:: http://img.shields.io/pypi/v/muffin-oauth.svg?style=flat-square
    :target: https://pypi.python.org/pypi/muffin-oauth

.. image:: http://img.shields.io/pypi/dm/muffin-oauth.svg?style=flat-square
    :target: https://pypi.python.org/pypi/muffin-oauth

.. image:: http://img.shields.io/gratipay/klen.svg?style=flat-square
    :target: https://www.gratipay.com/klen/
    :alt: Donate

.. _contents:

.. contents::

.. _requirements:

Requirements
=============

- python >= 3.3

.. _installation:

Installation
=============

**Muffin-OAuth** should be installed using pip: ::

    pip install muffin-oauth

.. _usage:

Usage
=====

See example application.
Run with command: ::

    $ make run

And open http://fuf.me:5000 in your browser.

.. code:: python

    # OAuth2
    client = app.ps.oauth.client('github', access_token='...')
    resource = yield from client.request('GET', 'user')

.. _bugtracker:

Bug tracker
===========

If you have any suggestions, bug reports or
annoyances please report them to the issue tracker
at https://github.com/klen/muffin-oauth/issues

.. _contributing:

Contributing
============

Development of Muffin-OAuth happens at: https://github.com/klen/muffin-oauth


Contributors
=============

* klen_ (Kirill Klenov)

.. _license:

License
=======

Licensed under a `MIT license`_.

.. _links:


.. _klen: https://github.com/klen

_MIT license: http://opensource.org/licenses/MIT


