Click or drag to resize
CustomerKeyAuthentication Constructor
Creates a new instance that contains a personal customer key and a token, that can be used for cross-device client-side notifications in eSales Web API. This object should be created when the user has successfully logged in, and the respective values should be set in cookies.

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public CustomerKeyAuthentication(
	string privateKey,
	string user
)

Parameters

privateKey
Type: SystemString
A private key that is unique for this site. This key is provided by Apptus.
user
Type: SystemString
The user name, or other user-unique value, of the customer that logged in.
Exceptions
ExceptionCondition
ArgumentExceptionIf privateKey or user is null or empty.
See Also