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.8

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.6.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

muffin_oauth-0.6.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin-oauth-0.6.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for muffin-oauth-0.6.1.tar.gz
Algorithm Hash digest
SHA256 7165b58f2f43806bb647a5fd7626bcd8d041600bf860da1bf9ddd802d3e860c1
MD5 14735366c56f74c945683b2e62d7de95
BLAKE2b-256 0ac875aab9c4771c634c31ecca056e606f10106dfce88379e22e49fae9cd7289

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muffin_oauth-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for muffin_oauth-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3b976503cd580581a0d03b51f0798a84a505243b3823308af0b540756e3cd9
MD5 ee39c7ec2973ba0f41df5e9c715bba81
BLAKE2b-256 8bed07681a953b46dc18b1072b531f0818091b4fbb1f14156dd6569f93aa7678

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