| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient | |
| uk.co.visalia.brightpearl.apiclient.client |
| Modifier and Type | Method and Description |
|---|---|
String |
BrightpearlApiClient.fetchLegacyAuthToken(Account account,
UserCredentials userCredentials)
Using Brightpearl account details and user credentials, attempts authentication of the user and returns an auth
token if the request was successful.
|
String |
BrightpearlApiClient.fetchStaffToken(PrivateAppIdentity appIdentity,
UserCredentials userCredentials)
Using private app details and user credentials, attempts authentication of the user and returns their staff token
if they are authorised to use the app.
|
String |
BrightpearlApiClient.fetchStaffToken(PublicAppIdentity appIdentity,
Account account,
UserCredentials userCredentials)
Using private app details and user credentials, attempts authentication of the user and returns their staff token
if they are authorised to use the app.
|
void |
BrightpearlLegacyApiSessionFactory.setUserCredentials(UserCredentials userCredentials)
Set the credentials of an API-enabled user account associated with the customer account.
|
BrightpearlLegacyApiSessionFactory |
BrightpearlLegacyApiSessionFactory.withUserCredentials(UserCredentials userCredentials)
Set the credentials of an API-enabled user account associated with the customer account.
|
| Modifier and Type | Method and Description |
|---|---|
UserCredentials |
UserCredentialsWrapper.getApiAccountCredentials() |
| Constructor and Description |
|---|
UserCredentialsWrapper(UserCredentials apiAccountCredentials) |
Copyright © 2014. All Rights Reserved.