[PATCH 3/5] REST: Enable token auth support
Stephen Finucane
stephen at that.guru
Tue Jun 13 01:52:24 AEST 2017
On Tue, 2017-06-13 at 00:04 +1000, Andrew Donnellan wrote:
> 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.
No worries - hope you don't me taking the leap there :) Looking forward to the reviews.
Stephen
More information about the Patchwork
mailing list