def create(identity_id = '', service = '', token = '')
      fail BadParametersError, 'identity_id is required' if identity_id.empty?
      fail BadParametersError, 'service is required' if service.empty?
      fail BadParametersError, 'token is required' if token.empty?
      params = {
        service: service,
        token: token
      }

      DataSift.request(:POST, "account/identity/#{identity_id}/token", @config, params)
    end
def create(identity_id = '', service = '', token = '')
      fail BadParametersError, 'identity_id is required' if identity_id.empty?
      fail BadParametersError, 'service is required' if service.empty?
      fail BadParametersError, 'token is required' if token.empty?
      params = {
        service: service,
        token: token
      }

      DataSift.request(:POST, "account/identity/#{identity_id}/token", @config, params)
    end
Creates a new Identity Token

 @param identity_id [String] ID of the Identity for which you are creating
   a token
 @param service [String] The service this token will be used to access. For
   example; 'facebook'
 @param token [String] The token provided by the PYLON data provider
 @return [Object] API reponse object