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 = … OAUTH_TOKENS_VKONTAKTE_CLIENT_SECRET = … OAUTH_TOKENS_VKONTAKTE_SCOPE = [‘ads,wall,photos,friends,stats’] # array of strings OAUTH_TOKENS_VKONTAKTE_USERNAME = … OAUTH_TOKENS_VKONTAKTE_PASSWORD = … OAUTH_TOKENS_VKONTAKTE_PHONE_END = … # last 4 digits
OAUTH_TOKENS_FACEBOOK_CLIENT_ID = … OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = … OAUTH_TOKENS_FACEBOOK_SCOPE = [‘offline_access’] # array of strings OAUTH_TOKENS_FACEBOOK_USERNAME = … OAUTH_TOKENS_FACEBOOK_PASSWORD = …
# Settings
OAUTH_TOKENS_HISTORY = True # to keep in DB access tokens expired
# 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
File details
Details for the file django-oauth-tokens-0.1.8.tar.gz
.
File metadata
- Download URL: django-oauth-tokens-0.1.8.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c34a8dbe61c5d2fb4f2b2fe63f983523541516a40272ff072a723ccc5a3c444 |
|
MD5 | 3111937b29611bdba75b0e069e3d3bb5 |
|
BLAKE2b-256 | 73d511fc872d0639e6a244633d3b446ec06961ae3a234db7a329e6941ab6b31e |