Add serializers and views for connecting accounts with minimal
specialization of the existing django-rest-auth interfaces.
Also add viewset which enables listing social account infmration
via the REST API for social authentication driven client applications.
Resolves#347 in GitHub.
Added a serializer for twitter OAuth to work. If you are not using this it will cause an error ('TwitterOAuthAdapter' object has no attribute 'parse_token'). It happens because method parse_token() is implemented in OAuth2Adapter, but Twitter uses OAuth 1.0, so TwitterOAuthAdapter inherits from OAuthAdapter, which doesn't have parse_token() method. Example usage is given below:
class TwitterLogin(LoginView):
serializer_class = TwitterLoginSerializer
adapter_class = TwitterOAuthAdapter