code: def oauth1_token_setter(remote, resp, token_type='', extra_data=None):
      
      return token_setter(
          remote,
          resp['oauth_token'],
          secret=resp['oauth_token_secret'],
          extra_data=extra_data,
          token_type=token_type,
      )
docs: Set an OAuth1 token.
  
      :param remote: The remote application.
      :param resp: The response.
      :param token_type: The token type. (Default: ``''``)
      :param extra_data: Extra information. (Default: ``None``)
      :returns: A :class:`invenio_oauthclient.models.RemoteToken` instance.