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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file muffin_oauth-2.6.0.tar.gz.

File metadata

  • Download URL: muffin_oauth-2.6.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for muffin_oauth-2.6.0.tar.gz
Algorithm Hash digest
SHA256 093527633996dc55fc3cc169f7405c78eda09be1c05b72dcaa78dbcd7a6df057
MD5 fff3d5bef2c3581e5e5584b61c367c37
BLAKE2b-256 442314f0b2dea899413ebbdc680933c13e589193be3ba195ee14ed950bfe26f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muffin_oauth-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for muffin_oauth-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82e72e973b6a87120db31007ee2aac1640c90ec013907fe7f8fda1f4f7d957c0
MD5 4df1f8e464c282156f7a7e8e763f5725
BLAKE2b-256 b036ca6da177c5d77f5579af330c90dcde5316807802fd427721d1e4cc1afae2

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