public class CustomerKeyAuthentication extends Object
Constructor | Description |
---|---|
CustomerKeyAuthentication(String privateKey,
String user) |
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.
|
public CustomerKeyAuthentication(String privateKey, String user)
getCustomerKey()
and getToken()
.privateKey
- A private key that is unique for this site. This key is provided by Apptus.user
- The user name, or other user-unique value, of the customer that logged in.IllegalArgumentException
- If privateKey or user is null or empty.public String getCustomerKey()
public String getToken()
Copyright © 2021 Apptus Technologies AB. All rights reserved.