From 106c8db6f5cacf1e37978d5cf13c9fde3ca29ce9 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 12 Jun 2014 12:22:09 +0100 Subject: Latest docs build --- api-guide/authentication.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api-guide/authentication.html') diff --git a/api-guide/authentication.html b/api-guide/authentication.html index f8e75399..89091469 100644 --- a/api-guide/authentication.html +++ b/api-guide/authentication.html @@ -287,7 +287,7 @@ WSGIPassAuthorization On

Note: If you use BasicAuthentication in production you must ensure that your API is only available over https. You should also ensure that your API clients will always re-request the username and password at login, and will never store those details to persistent storage.

TokenAuthentication

This authentication scheme uses a simple token-based HTTP Authentication scheme. Token authentication is appropriate for client-server setups, such as native desktop and mobile clients.

-

To use the TokenAuthentication scheme, include rest_framework.authtoken in your INSTALLED_APPS setting:

+

To use the TokenAuthentication scheme you'll need to configure the authentication classes to include TokenAuthentication, and additionally include rest_framework.authtoken in your INSTALLED_APPS setting:

INSTALLED_APPS = (
     ...
     'rest_framework.authtoken'
-- 
cgit v1.2.3