Skip to main content

Support OAuth authentication for Muffin Framework.

Project description

Muffin-OAuth – Support OAuth authentication for Muffin Framework.

Tests Status PYPI Version Python Versions

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

Uploaded Source

Built Distribution

muffin_oauth-2.3.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin-oauth-2.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for muffin-oauth-2.3.0.tar.gz
Algorithm Hash digest
SHA256 90cf4722fcb516b2f9eb9c672e9184cb71aa7b60251f9c18fa7eddab6a9cb23c
MD5 b51339f9ff754c384dd04dc0bf7c378d
BLAKE2b-256 28e63e9c26cf12b4e0f0a7849d27eddf63ac606eefd0ad7a36766fd78472c72f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muffin_oauth-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2303993141abb207fcf2f272862cc1d22941b6904622325c1d61ea7cb783f8ae
MD5 80b1f25a2455a9bf4d2cba2088d40213
BLAKE2b-256 f938ffc918883e3992b92ece2886f96cc704f2bf98cd3881c102dfd6e9d045d0

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