Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@datafire/apiz_ebay_commerce_identity
Advanced tools
Client library for Identity API
npm install --save @datafire/apiz_ebay_commerce_identity
let apiz_ebay_commerce_identity = require('@datafire/apiz_ebay_commerce_identity').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Retrieves the authenticated user's account profile information. It can be used to let users log into your app or site using eBay, which frees you from needing to store and protect user's PII (Personal Identifiable Information) data.
Exchange the code passed to your redirect URI for an access_token
apiz_ebay_commerce_identity.oauthCallback({
"code": ""
}, context)
object
string
object
string
string
string
string
string
Exchange a refresh_token for an access_token
apiz_ebay_commerce_identity.oauthRefresh(null, context)
This action has no parameters
object
string
string
string
string
string
This method retrieves the account profile information for an authenticated user, which requires a User access token. What is returned is controlled by the scopes. For a business account you use the default scope commerce.identity.readonly, which returns all the fields in the businessAccount container. These are returned because this is all public information. For an individual account, the fields returned in the individualAccount container are based on the scope you use. Using the default scope, only public information, such as eBay user ID, are returned. For details about what each scope returns, see the Identity API Overview. In the Sandbox, this API returns mock data. Note: You must use the correct scope or scopes for the data you want returned.
apiz_ebay_commerce_identity.getUser(null, context)
This action has no parameters
object
: The type that defines the fields for an address.
string
: The first line of the street address.string
: The second line of the street address. This field is not always used, but can be used for 'Suite Number' or 'Apt Number'.string
: The city of the address.string
: The two-letter ISO 3166 standard of the country of the address. For implementation help, refer to eBay API documentationstring
: The county of the address.string
: The postal code of the address.string
: The state or province of the address.object
: The type that defines the fields for the business account information.
string
: An additional name that is used for their business on eBay. The business name is returned in the name field.string
: The email address of the business account.string
: The business name associated with the user's eBay account.string
: The business website address associated with the eBay account.object
: The type that defines the fields for the information of the contact person for the account.
string
: The first name of the contact person.string
: The last name of the contact person.object
: This type defines the fields that can be returned in an error.
array
: An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned.
string
: Identifies the type of erro.string
: Name for the primary system where the error occurred. This is relevant for application errors.integer
: A unique number to identify the error.array
: An array of request elements most closely associated to the error.
string
string
: A more detailed explanation of the error.string
: Information on how to correct the problem, in the end user's terms and language where applicable.array
: An array of request elements most closely associated to the error.
string
string
: Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc.object
string
: The object of the error.string
: The value of the object.object
: The type that defines the fields for the information of an individual account.
object
: The type that defines the fields for the details of a phone.
string
: The two-letter ISO 3166 standard of the country to which the phone number belongs.string
: The numeric string representing the phone number.string
: The type of phone service. Valid Values: MOBILE or LAND_LINE Code so that your app gracefully handles any future changes to this list.object
: The type that defines the fields for the getUser method.
string
: Indicates the user account type. This is determined when the user registers with eBay. If they register for a business account, this value will be BUSINESS. If they register for a private account, this value will be INDIVIDUAL. This designation is required by the tax laws in the following countries: EBAY_AT, EBAY_BE, EBAY_CH, EBAY_DE, EBAY_ES, EBAY_FR, EBAY_GB, EBAY_IE, EBAY_IT, EBAY_PL Valid Values: BUSINESS or INDIVIDUAL Code so that your app gracefully handles any future changes to this list. For implementation help, refer to eBay API documentationstring
: The eBay site on which the account is registered. For implementation help, refer to eBay API documentationstring
: Indicates the user's account status. Possible values: CONFIRMED, UNCONFIRMED, ACCOUNTONHOLD and UNDETERMINED. For implementation help, refer to eBay API documentationstring
: The eBay immutable user ID of the user's account and can always be used to identify the user.string
: The user name, which was specific by the user when they created the account. Note: This value can be changed by the user.FAQs
DataFire integration for Identity API
We found that @datafire/apiz_ebay_commerce_identity demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.