code: def post(self, request, *args, **kwargs):
      serializer = self.get_serializer(data=request.data)
      serializer.is_valid(raise_exception=True)
      user = serializer.save()
      token = user.auth_token.key
  
      return Response({"token": token})
  
imports: from rest_framework import status, viewsets
  from rest_framework.response import Response
  from modelchimp.serializers.profile import ProfileSerializer
  from modelchimp.models.profile import Profile
  from modelchimp.models.user import User
  from modelchimp.models.invitation import Invitation
  from modelchimp.models.membership import Membership
  from modelchimp.serializers.user import UserSerializer
  from rest_framework.permissions import IsAuthenticated
  from rest_auth.views import PasswordResetConfirmView
  from django.utils.encoding import force_text
  from django.utils.http import urlsafe_base64_decode
label_desc: Use image node_id 1 for calling the PasswordResetConfirmAPIView obj's underlying member method code with example usage: obj.post(request) and returns: Response