Skip to main content

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

## Facebook

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-oauth-tokens-0.5.1.tar.gz (40.6 kB view details)

Uploaded Source

File details

Details for the file django-oauth-tokens-0.5.1.tar.gz.

File metadata

File hashes

Hashes for django-oauth-tokens-0.5.1.tar.gz
Algorithm Hash digest
SHA256 8c1a5ddcc6d71dae1971703f98a5c8cad1613c297ef2c1cf420e0c7c7c77e361
MD5 ff59f9463e23b5d819185a2d2feee848
BLAKE2b-256 53a6293b3f8237def3996124279447d6d2a407ec756e4a2a47d7188d44f32387

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page