OAuthLib for Sanic, ported from Flask-OAuthLib
Project description
Sanic-OAuthlib is an extension to Sanic that allows you to interact with remote OAuth enabled applications. On the client site, it is a replacement for Sanic-OAuth. But it does more than that, it also helps you to create OAuth providers.
Sanic-OAuthlib is a fork of Flask-OAuthlib, ported to sanic using the SanicPluginsFramework.
Sanic-OAuthlib relies on oauthlib.
Features
(These features are directly ported from Flask-OAuthLib)
Support for OAuth 1.0a, 1.0, 1.1, OAuth2 client
Friendly API (same as Sanic-OAuth)
Direct integration with Sanic using SanicPluginsFramework
Basic support for remote method invocation of RESTful APIs
Support OAuth1 provider with HMAC and RSA signature
Support OAuth2 provider with Bearer token
And request more features at github issues.
Security Reporting
If you found security bugs which can not be public, send me email at ashleysommer@gmail.com. Attachment with patch is welcome.
Installation
Installing sanic-oauthlib is simple with pip:
$ pip install Sanic-OAuthlib
If you don’t have pip installed, try with easy_install:
$ easy_install Sanic-OAuthlib
Additional Notes
See the original documentation for Flask-OAuthlib here: flask-oauthlib@readthedocs.
If you are only interested in the client part, you can find some examples in the example directory.
There is also a development version on GitHub.
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
Built Distribution
Hashes for Sanic_OAuthlib-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 389f036fd48ce3d8496db9a2104f3a0465b70d3633d74f482a778fd1a8e8ba98 |
|
MD5 | 05eca9fffe71f41fce3923a03229c80c |
|
BLAKE2b-256 | 80ea3b69714ed4ad22502fd69bba3beb100efa7b2bf64df64a870e111b1778e9 |