Authenticate against Django’s Model Backend.
authenticate a user, this expect the user will be using form based auth and the username and password will be passed in as POST variables.
Parameters: | request (django.http.HttpRequest) – a HTTP Request instance |
---|
return the user dictionary in the format of:
{"id": 123,
“display”: “John Smith”, “email”: “john@example.com“}