public static class CloverAuth.AuthResult extends Object
Modifier and Type | Field and Description |
---|---|
String |
appId
The id of the app that performed authentication.
|
Bundle |
authData
The complete set of data returned by
AccountManager . |
String |
authToken
The auth token, used for sending subsequent requests to the service.
|
String |
baseUrl
The base URL of the Clover service.
|
String |
errorMessage
Error message that was generated during authentication, or
null . |
String |
merchantId
The id of the merchant associated with the authenticated account.
|
Constructor and Description |
---|
AuthResult(Bundle authData) |
public final String authToken
public final String baseUrl
public final String errorMessage
null
.public final String merchantId
Prefer new MerchantConnector(...).getMerchant().getId()
, which always works
even if an auth token cannot be obtained due to error.
public final String appId
public final Bundle authData
AccountManager
.public AuthResult(Bundle authData)