NCTU OAuth package for django
Project description
# django-nctu-oauth
This package currently still in testing stage
## Setup
1. Register your app at [nctu oauth website](https://id.nctu.edu.tw/)
2. Install package from pip
```
pip install django-nctu-oauth
```
3. Add package to django project
```
NCTU_APP_REDIRECT_URI = 'your-redirect-url'
NCTU_APP_CLIENT_ID = 'your-client-id'
NCTU_APP_CLIENT_SECRET = 'your-secret-key'
INSTALLED_APPS = [
'django-nctu-oauth',
]
```
## Testing
```
python -m test.test
```
This package currently still in testing stage
## Setup
1. Register your app at [nctu oauth website](https://id.nctu.edu.tw/)
2. Install package from pip
```
pip install django-nctu-oauth
```
3. Add package to django project
```
NCTU_APP_REDIRECT_URI = 'your-redirect-url'
NCTU_APP_CLIENT_ID = 'your-client-id'
NCTU_APP_CLIENT_SECRET = 'your-secret-key'
INSTALLED_APPS = [
'django-nctu-oauth',
]
```
## Testing
```
python -m test.test
```
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
File details
Details for the file django-nctu-oauth-0.1.0.tar.gz
.
File metadata
- Download URL: django-nctu-oauth-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f665c309b0a62b15d20e9cfe376947b420baf6b6a281f5c5d07909d13d2d5a6e
|
|
MD5 |
c8d4a610a7f83403ae78b42745ee4899
|
|
BLAKE2b-256 |
3cb3bfdd1aca4902f7a2e550f260b1ce4ecfea2608a946b8d24412d5a376be02
|
File details
Details for the file django_nctu_oauth-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_nctu_oauth-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9a5175a125202c6a2597f0a2ccd196902cfca9cc0be6e2be9fbadaaf52d0957d
|
|
MD5 |
05c87e225a8ce7f107eff46352c0125c
|
|
BLAKE2b-256 |
6badc0db5daf0f5290730d4253cd751093ebde1ca5c35597212304d25765746f
|