| Package | Description |
|---|---|
| uk.co.visalia.brightpearl.apiclient | |
| uk.co.visalia.brightpearl.apiclient.auth |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static PrivateAppIdentity |
PrivateAppIdentity.create(Account account,
String appReference)
Create a private app identity.
|
PrivateAppIdentity |
PrivateAppAuthorisation.getAppIdentity() |
| Modifier and Type | Method and Description |
|---|---|
static PrivateAppAuthorisation |
PrivateAppAuthorisation.staff(PrivateAppIdentity appIdentity,
String staffToken)
Create account authorisation details for a staff authorised API call for a private app.
|
static PrivateAppAuthorisation |
PrivateAppAuthorisation.system(PrivateAppIdentity appIdentity,
String accountToken)
Create account authorisation details for a private (own account) system-to-system call using the account token
generated for a private app.
|
Copyright © 2014. All Rights Reserved.