Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpadilla/django-rest-framework-oauth
OAuth support for Django REST Framework
https://github.com/jpadilla/django-rest-framework-oauth
django django-rest-framework oauth python
Last synced: 2 days ago
JSON representation
OAuth support for Django REST Framework
- Host: GitHub
- URL: https://github.com/jpadilla/django-rest-framework-oauth
- Owner: jpadilla
- License: bsd-3-clause
- Created: 2014-11-19T13:49:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T08:16:48.000Z (5 months ago)
- Last Synced: 2024-10-12T07:26:15.597Z (23 days ago)
- Topics: django, django-rest-framework, oauth, python
- Language: Python
- Homepage: http://jpadilla.github.io/django-rest-framework-oauth
- Size: 716 KB
- Stars: 58
- Watchers: 8
- Forks: 22
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - django-rest-framework-oauth - OAuth support for Django REST Framework (Python)
README
# REST Framework OAuth
[![build-status-image]][travis]
[![pypi-version]][pypi]**OAuth support for Django REST Framework**
Full documentation for the project is available at [http://jpadilla.github.io/django-rest-framework-oauth][docs].
## 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][django-oauth-plus] and [django-oauth2-provider][django-oauth2-provider] packages.
This package provides two authentication classes: [OAuthAuthentication][oauth-authentication] and [OAuth2Authentication][oauth2-authentication] and a [TokenHasReadWriteScope][token-has-read-write-scope] 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`...
```bash
$ pip install djangorestframework-oauth
```## Documentation & Support
Full documentation for the project is available at [http://jpadilla.github.io/django-rest-framework-oauth][docs].
You may also want to follow the [author][jpadilla] on Twitter.
[build-status-image]: https://secure.travis-ci.org/jpadilla/django-rest-framework-oauth.svg?branch=master
[travis]: http://travis-ci.org/jpadilla/django-rest-framework-oauth?branch=master
[pypi-version]: https://img.shields.io/pypi/v/djangorestframework-oauth.svg
[pypi]: https://pypi.python.org/pypi/djangorestframework-oauth
[django-oauth-plus]: http://code.larlet.fr/django-oauth-plus/wiki/Home
[django-oauth2-provider]: http://django-oauth2-provider.readthedocs.org/
[oauth-authentication]: http://jpadilla.github.io/django-rest-framework-oauth/authentication/#oauthauthentication
[oauth2-authentication]: http://jpadilla.github.io/django-rest-framework-oauth/authentication/#oauth2authentication
[token-has-read-write-scope]: http://jpadilla.github.io/django-rest-framework-oauth/permissions/#tokenhasreadwritescope
[docs]: http://jpadilla.github.io/django-rest-framework-oauth
[jpadilla]: https://twitter.com/jpadilla_