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

Uploaded Source

Built Distribution

muffin_oauth-2.5.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: muffin_oauth-2.5.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1024-azure

File hashes

Hashes for muffin_oauth-2.5.0.tar.gz
Algorithm Hash digest
SHA256 65f1168b25a14ee6a40a5a2f043d5d649cd8ecdbb580d16281876e72453644e6
MD5 342c3adea3056a2d9d3e6ce41e930409
BLAKE2b-256 442d2811902100cfd44df3c4e8f70cbc6b2ca795e9b3609200167fb2484f147c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for muffin_oauth-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db16ed340c34b306f7508ffe9b6a5a6c40df0e4ae571a447d306ab211c666c25
MD5 dd55391218039db50a4db7b68c65288e
BLAKE2b-256 d33c06d0b05be25511779700ea0cb3527171cd62f501c374475abc440c223b1f

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