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 = [‘ads,wall,photos,friends,stats’] # application scopes 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 scopes 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
oauth2 service depends on http://github.com/ryanhorn/tyoiOAuth2.git
requests (pip install requests)
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.2.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7730b4eec4b40055d78d00ba23ebcc062cd6b4bff796d0224fa1f90eab0d65c |
|
MD5 | fbc082b4c7313f1180f231ed0b4eb987 |
|
BLAKE2b-256 | b8a78db514e9e8ee1f63b6e90487c220a4a3c9d8fde8c738ce2dab27ede0b793 |