def METHOD_NAME(self, request, *args, **kwargs):
    self.check_permissions(request, "authorize", None)
    try:
        oauth_data = request.user.auth_data.get(key="pivotal-oauth")
        oauth_token = oauth_data.extra['oauth_token']
        oauth_secret = oauth_data.extra['oauth_secret']
        oauth_verifier = request.DATA.get('code')
        oauth_data.delete()
        pivotal_token = PivotalImporter.get_access_token(oauth_token, oauth_secret, oauth_verifier)['oauth_token']
    except Exception as e:
        raise exc.WrongArguments(_("Invalid or expired auth token"))
    return response.Ok({
        "token": pivotal_token
    })