# Introduction
Application for getting, storing and refreshing OAuth access_tokens for Django standalone applications without user manipulations. Applications also can imitate authorized requests on behalf of user
# Providers
## Vkontakte
OAUTH_TOKENS_VKONTAKTE_CLIENT_ID = ‘’ # application ID OAUTH_TOKENS_VKONTAKTE_CLIENT_SECRET = ‘’ # application secret key OAUTH_TOKENS_VKONTAKTE_SCOPE = [‘wall’, ‘friends’] # application scope OAUTH_TOKENS_VKONTAKTE_USERNAME = ‘’ # user login OAUTH_TOKENS_VKONTAKTE_PASSWORD = ‘’ # user password OAUTH_TOKENS_VKONTAKTE_PHONE_END = ‘’ # last 4 digits of user mobile phone
OAUTH_TOKENS_FACEBOOK_CLIENT_ID = ‘’ # application ID OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = ‘’ # application secret key OAUTH_TOKENS_FACEBOOK_SCOPE = [‘offline_access’] # application scope OAUTH_TOKENS_FACEBOOK_USERNAME = ‘’ # user login OAUTH_TOKENS_FACEBOOK_PASSWORD = ‘’ # user password
# Settings
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
# Dependencies
django
requests
requests_oauthlib
django-taggit
beautifulsoup4
In order to test with quicktest.py, you also need:
mock
factory_boy
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-oauth-tokens-0.6.3.tar.gz.
File metadata
- Download URL: django-oauth-tokens-0.6.3.tar.gz
- Upload date:
- Size: 46.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcf9cdea77dc2680b1e79f37afb7b7be18a1b89656cad6f5e2835d4ab1b20d21
|
|
| MD5 |
ef8d01e0e5b4a3a32b924a3bc12652cf
|
|
| BLAKE2b-256 |
d0fd9c69653a9897b2d98baf9cf3e33af23753d6f33bf669999611f46cabcb10
|