Skip to main content

Support OAuth authentication for Muffin Framework.

Project description

Muffin-OAuth – Support OAuth authentication for Muffin Framework.

Tests Status PYPI Version

Requirements

  • python >= 3.7

Installation

Muffin-OAuth should be installed using pip:

pip install muffin-oauth

Usage

Get OAuth Access/Refresh Tokens

See an example application in example.py. Run the example with command:

$ make example

And open http://localhost:5000 in your browser.

Load resouces with access tokens

# OAuth2
client = oauth.client('github', access_token='...')
resource = await client.request('GET', 'user')

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

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

Contributors

  • klen (Kirill Klenov)

License

Licensed under a MIT license. .. _links:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muffin-oauth-0.9.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

muffin_oauth-0.9.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file muffin-oauth-0.9.4.tar.gz.

File metadata

  • Download URL: muffin-oauth-0.9.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for muffin-oauth-0.9.4.tar.gz
Algorithm Hash digest
SHA256 f6b974d4f7995d824505a3c15351909dc2c99a6258fb52bb4a0b4860deb1c0af
MD5 013dd47987a37525adbbab2759dad5d1
BLAKE2b-256 994f38d792e377c939416f83edf0e075081e931537e9846d47c1740e29f32bec

See more details on using hashes here.

File details

Details for the file muffin_oauth-0.9.4-py3-none-any.whl.

File metadata

  • Download URL: muffin_oauth-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.7

File hashes

Hashes for muffin_oauth-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 822f5ef1c871e1beb193e9cec8d454854c6d74b42a445813c4fc77618b36d7d4
MD5 5b5b35986d241105704a4c4372dc8373
BLAKE2b-256 e74766393120769a72a4c95c7b2beeb0759a11c129824b844a3099004fbdbffb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page