diff options
author | Stephen Finucane <stephen@that.guru> | 2017-06-09 18:18:23 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-06-14 09:38:25 +0100 |
commit | 274763e7b66db5e128994e817876bf534692470e (patch) | |
tree | a382557925db4be040aaa73f655fb77a10e901f9 /docs | |
parent | 02f8c2818bfd33bd02e8b6a64809a114f91c5000 (diff) | |
download | patchwork-274763e7b66db5e128994e817876bf534692470e.tar patchwork-274763e7b66db5e128994e817876bf534692470e.tar.gz |
REST: Enable token auth support
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@au1.ibm.com>
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions