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

Uploaded Source

Built Distribution

muffin_oauth-2.4.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin-oauth-2.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 95feea9203cbcc16c5f597fdba13069e7357c9c2e7c0ff24a0956d4cec19bc5a
MD5 fe3a5ec402c13a6c2daf40299b9d5a1d
BLAKE2b-256 54e7622265ed0c002cc6aa452d38fdd343b7c9e401d8a59ec63fb91c2928589a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for muffin_oauth-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8a2ed3f72ee02efb1dee4ea954a736670be2991dcb266b2c71649d1f178da74
MD5 d54838462789806ded5dd318e5cefcf4
BLAKE2b-256 187cc6e2458f180ed626cfe2b7e1213eef0074f47c7b2907814e1583fa5a931a

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