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 = … 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

## Facebook

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

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.2.0.tar.gz (13.1 kB view hashes)

Uploaded Source

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