aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/authentication.py
AgeCommit message (Collapse)Author
2013-05-29Rename test modules to 1.6 styleTom Christie
2013-03-28Remove client credentials from all OAuth 2 testsPierre Dulac
2013-03-27Complete remove of client checks from oauth2Fernando Rocha
Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-03-27client credentials should be optional (fix #759)Fernando Rocha
client credentials should only be required on token request Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-03-10Add the implementation for TokenHasReadWriteScope permissions w/ oauth 1Pierre Dulac
2013-03-10Add TokenHasReadWriteScope class for permissions based on scopesPierre Dulac
2013-03-08Fix crazy typo.Tom Christie
2013-03-08MergeTom Christie
2013-03-08Fixes for auth header checking.Tom Christie
2013-03-07Merge OAuth2 work.Tom Christie
2013-03-07Merge & clean OAuth supportTom Christie
2013-03-06Fix import errorsPierre Dulac
2013-03-02Add new OAuth2 testsPierre Dulac
2013-03-01Use django.utils to import the unittest modulePierre Dulac
for a cross python versions compatibility
2013-03-01Improve the `django-oauth2-provider` import blockPierre Dulac
to avoid naming collision with `oauth2` used for OAuth 1
2013-03-01Merge branch 'master' into oauth2-authenticationPierre Dulac
Conflicts: rest_framework/tests/authentication.py
2013-03-01Add tests for OAuth2 authenticationPierre Dulac
2013-02-28Auth is no longer lazy. Closes #667.Tom Christie
More consistent auth failure behavior.
2013-02-27import compat version of unittestswistakm
2013-02-26OAuth tests now are skipped unless django-oauth-plus and oauth2 are installed.swistakm
2013-02-25add tests for OAuth authenticationswistakm
2013-02-25Replaced status numbers with the statuses constants from the status model.Omer Katz
2013-02-04Cleanup importsTom Christie
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-013.2, 3.3 compatTom Christie
2013-02-01Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into ↵Tom Christie
working Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
2013-01-21WWW-Authenticate responsesTom Christie
2013-01-05deprecate simplejsonJuan Riaza
2013-01-02Merge remote-tracking branch 'reference/py3k' into p3kXavier Ordoquy
2012-12-19urls, patterns, include imports move to compat to support incoming 1.3 thru ↵Tom Christie
1.6 import compatability
2012-12-07Reverted #458Tom Christie
When incorrect parameters are supplied to the obtain auth token view 400 *is* the correct response.
2012-12-02Merge remote-tracking branch 'reference/master' into p3kXavier Ordoquy
2012-11-29fix forgotten 400 testPavel Savchenko
2012-11-28also update test with response code 401Pavel Savchenko
2012-11-24Every (base) test should now pass with python3.Xavier Ordoquy
2012-11-23Default encoding should probably be latin-1 as some RFC seems to imply it.Xavier Ordoquy
2012-11-226 first tests passes under python 3.2Xavier Ordoquy
2012-11-22Fixed test with base64.Xavier Ordoquy
2012-11-22First passing test under p3k \o/Xavier Ordoquy
2012-11-14Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, ↵Rob Romano
updated tests & docs. Left authtoken.urls in place as example.
2012-11-14Updates to login view for TokenAuthentication from feedback from TomRob Romano
2012-11-14Added authtoken login/logout urlpatterns and viewsRob Romano
2012-10-09Tweak authtokenTom Christie
2012-09-20Change package name: djangorestframework -> rest_frameworkTom Christie