Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement simple token authentication #249

Merged
merged 8 commits into from Sep 7, 2012

Conversation

mjumbewu
Copy link
Contributor

@mjumbewu mjumbewu commented Sep 7, 2012

  • Added a tokenauth sub-application
  • Added a TokenAuthentication authentication class
  • Added a BaseToken abstract model that implements a minimal contract for token models
  • Added a BasicToken model that derives from BaseToken to be used as the default model
  • Added tests for token authentication
  • Updated the TokenAuthentication section in the API Guide

@tomchristie
Copy link
Member

Looking good. Thanks!

- All MockViews return Response objects
- Only one urlpatterns attribute in the module
- Renamed `RendererIntegrationTests` to `RendererEndToEndTests`, as the former wasn't being run locally (but it was on Travis...dunno).
tomchristie added a commit that referenced this pull request Sep 7, 2012
Implement simple token authentication
@tomchristie tomchristie merged commit 9faca0a into encode:restframework2 Sep 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants