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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin-oauth-2.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for muffin-oauth-2.2.0.tar.gz
Algorithm Hash digest
SHA256 7919d746615fbd929f5e4d5f4741d26a024a13f6fb9bf473044c65daa469fa6e
MD5 fddb98b06a480d7899977ccaadce8ef5
BLAKE2b-256 39ce550d34a071b35e7ad45d3ee69986146c8285f54ed20eb57a7fab2ebc74c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: muffin_oauth-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for muffin_oauth-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6c3d1aeef521bf9da3b3dc1fe2849b8fd3c1a134b561e387fdd4cdbb72abfd8
MD5 ccb5bca034e42da7683cc702c7f2022c
BLAKE2b-256 3b0ad1e180761607d7d5c7d7a45ce88c9414fe67dcf7170b2d3746443f9e3467

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