From 33ba6312f3e86cf529986cadef36741c1612b7ab Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Sun, 29 Dec 2013 23:33:59 +0100 Subject: [PATCH] TODO --- README.md | 6 ++++++ pydusken/authentication.py | 1 + 2 files changed, 7 insertions(+) diff --git a/README.md b/README.md index 0f6eb72..9872b8d 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,9 @@ Python client API wrapper for [DUSKEN](http://git.neuf.no/?p=dusken.git). Inspired by [trello](https://pypi.python.org/pypi/trello). See example.py to get started. + +# TODO + +Fix DuskenAuthBackend for django + +https://developers.google.com/accounts/docs/OAuth2WebServer#refresh diff --git a/pydusken/authentication.py b/pydusken/authentication.py index 386b1c2..09856d7 100644 --- a/pydusken/authentication.py +++ b/pydusken/authentication.py @@ -36,6 +36,7 @@ class DuskenBackend(object): user.save() def authenticate(self, username=None, password=None): + # TODO you are here # Check the username/password and return a User. Username can be an email is_using_email = self._is_using_email(username) try: