====================
Djdg Django Oauth provides a simple signature middleware verification between apps
Support
-------
mail to zane.yaung@live.com
Requirements
------------
* Python 2.7
* Django 1.9
Installation
------------
Install with pip::
pip install djdg-oauth
Add `djdg_oauth` to your `INSTALLED_APPS`
.. code-block:: python
INSTALLED_APPS = (
...
'djdg_oauth',
)
run migrate to add tables
.. code-block:: python
python manage.py migrate djdg_oauth
list, add, del app secret::
.. code-block:: python
python manage.py python manage.py listoauthapp {app_name}
python manage.py python manage.py addoauthapp {app_name}
python manage.py python manage.py deloauthapp {app_name}
add middleware::
.. code-block:: python
MIDDLEWARE_CLASSES = (
...
'djdg_oauth.middleware.DjdgAuthMiddleware',
)
add settings::
.. code-block:: python
DJDG_AUTH = {
"APPS": [
{"appid": "xxxxxx", "secret": "xxxxxxxxxxxxxxxxxxx", "app": "xxx"},
....
]
"FULL_ESCAPE_URL": [....] # full match url to escape auth check,
"REGEX_ESCAPE_URL": [....] # regex match url to escape auth check
}
)
Documentation
--------------
License
-------
djdg-oauth is released under the terms of the **BSD license**. Full details in ``LICENSE`` file.
Changelog
---------
0.0.2 version
add settings to assign url to check permission
-----
0.0.3 version
json dumps dict or list post parameter to string for md5
Metadata
Release files for djdg-django-oauth 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djdg-django-oauth-0.0.4.tar.gz | 6.4 kB | Without provenance | Details for djdg-django-oauth-0.0.4.tar.gz |
Release files / djdg-django-oauth-0.0.4.tar.gz
| Download URL | djdg-django-oauth-0.0.4.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2c4c4cd33d4d68e7f447b5047b5fc33bbb8cad3e2e2f10d6edd09ee396fe4c4
|
|
BLAKE2b-256 checksum How to use checksums |
0c58dd767ff3a987e6f621e93142d8fadaed5028093ea0d774f3e74358bb812b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for djdg-django-oauth 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.