[PATCH 3/5] REST: Enable token auth support

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Jun 13 00:04:57 AEST 2017


On 10/06/17 03:25, Stephen Finucane wrote:
> Token authentication is generally viewed as a more secure option for API
> authentication than storing a username and password.
>
> Django REST Framework gives us a TokenAuthentication class and an authtoken
> app that we can use to generate random tokens and authenticate to API
> endpoints. Enable this support and add some tests to validate correct
> behavior.
>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Signed-off-by: Stephen Finucane <stephen at that.guru>

Thanks for respinning this, was meaning to do so this coming week but 
you beat me to it! Will review the rest of the series tomorrow.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Patchwork mailing list