toastdriven/django-tastypie — pull request #657 by aburgel (2012-09-05 21:45:02+00:00)
Title: Change OAuthAuthentication to use storage method to get user

`oauth_provider.store` has a method `get_user_for_access_token` that retrieves the user object for an access token. the default implementation just returns `token.user`, but i have my own implementation which does a few other things.

this patch changes OAuthAuthentication to use this method instead of accessing `token.user` directly.