Update with pull request re: TokenAuthentication

mjumbewu 2012-09-07 11:32:10 -07:00
parent 5d0fcdaaae
commit ac0a332bd2

@ -28,10 +28,12 @@ Some of the gaps that need filling in:
## Okay, where should I start then?
### TokenBasicAuthentication.
### TokenAuthentication.
**See https://github.com/tomchristie/django-rest-framework/pull/249 for a first go.**
Take a look through the authentication docs. Take a look at the existing authentication classes.
Implement TokenBasicAuthentication as a subclass of BasicAuthentication.
Implement TokenBasicAuthentication as a subclass of BasicAuthentication. **-- Actually not implemented with basic auth. Uses a custom scheme called "Token"**
It'll need implementing as an optional app, so that tokens are not always installed by default - user will add `djangorestframework.basicauthtoken` to `INSTALLED_APPS` if they want the token models in their database.
### Bootstrap redesign of the browseable API