Class: module:models/TrustedSystemAuthRequest

module:models/TrustedSystemAuthRequest(clientId, login)

new module:models/TrustedSystemAuthRequest(clientId, login)

Constructs a new TrustedSystemAuthRequest.

Parameters:
Name Type Description
clientId String

The client id of the shopping application to be encoded in the customer JWT. This is not the same as the OAuth Client ID used to authenticate the API call. The OAuth Client ID is the trusted/private one; this is the untrusted/public one.

login String

The customer's login.

Source:

Members

(inner) client_id :String

The client id of the shopping application to be encoded in the customer JWT. This is not the same as the OAuth Client ID used to authenticate the API call. The OAuth Client ID is the trusted/private one; this is the untrusted/public one.

Type:
  • String
Source:

(inner) login :String

The customer's login.

Type:
  • String
Source:

Methods

(static) constructFromObject(data, obj) → {module:models/TrustedSystemAuthRequest}

Constructs a TrustedSystemAuthRequest from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj module:models/TrustedSystemAuthRequest

Optional instance to populate.

Source:
Returns:

The populated TrustedSystemAuthRequest instance.

Type
module:models/TrustedSystemAuthRequest