Support OAuth authentication for Muffin Framework.
Project description
Muffin-OAuth – Support OAuth authentication for Muffin Framework.
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
Release history Release notifications | RSS feed
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.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for muffin_oauth-2.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a15e7c648e2c8f052a6b2fcb6dac7cc197d6799de4312b615a5808304885cf8 |
|
MD5 | 046db86e533ef85ab094cee0e789f244 |
|
BLAKE2b-256 | 052c08b2b95825dce7c10ff9ea736996672874750d6b0fd288fcc099995d3be0 |