/django-rest-framework-oauth

OAuth support for Django REST Framework

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

REST Framework OAuth

build-status-image pypi-version

OAuth support for Django REST Framework

Full documentation for the project is available at http://jpadilla.github.io/django-rest-framework-oauth.

Overview

OAuth support extracted as a third party package directly from the official Django REST Framework implementation. It's built using the django-oauth-plus and django-oauth2-provider packages.

This package provides two authentication classes: OAuthAuthentication and OAuth2Authentication and a TokenHasReadWriteScope permission class.

Requirements

  • Python 2.7
  • Django (1.6, 1.7)
  • Django REST Framework (2.4.3, 2.4.4, 3.0-beta)

Installation

Install using pip...

$ pip install djangorestframework-oauth

Documentation & Support

Full documentation for the project is available at http://jpadilla.github.io/django-rest-framework-oauth.

You may also want to follow the author on Twitter.