Application for getting, refreshing and storing OAuth access_tokens for Django standalone applications
Project description
# 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
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
Hashes for django-oauth-tokens-0.5.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c223150a097df122aae501b12e5d4714471d3eddd5766ddec2bc60ba97d1cf7 |
|
MD5 | d1fae1cb746169e45e46d81c8bbc4d0a |
|
BLAKE2b-256 | 0a51b24c01d2f33e4fb5b6af2229fdc90756e1c75a1f01f3fc7ba0a28bea14a0 |