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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin-oauth-2.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for muffin-oauth-2.0.1.tar.gz
Algorithm Hash digest
SHA256 bb47f38737660bf14015dba786396b806cdb13c7fc63431938db4f43f49fe122
MD5 5135510fb0c386d62981133d36d9b53b
BLAKE2b-256 766ae2606d250d60c415ca113bb1ab689b80c96ec86e1ba319bd6344275a34ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muffin_oauth-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for muffin_oauth-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7cf5f43afe3266a59319951e1b82bb9a76808b5a4c3248ed12b975a899b17a68
MD5 575ad3e74d96099f22db2386063a60df
BLAKE2b-256 5be40e491a4f9681c7d6312182e22e03cacfb2a856cd0b77d2bde8d096ae1a36

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