LoginCredentials
class LoginCredentials
Constants
| COMPANY_PROFILE_ENV_NAME |
|
| COMPANY_ID_ENV_NAME |
|
| USER_ID_ENV_NAME |
|
| USER_PASSWORD_ENV_NAME |
|
| DEFAULT_COMPANY_PROFILE |
|
Methods
__construct(array $params, SenderCredentials $senderCreds)
Initializes the class with the given parameters.
string
getCompanyId()
Get Intacct company ID
string
getUserId()
Get Intacct user ID
string
getPassword()
Get Intacct user password
getSenderCredentials()
Get sender credentials
getEndpoint()
Get endpoint
MockHandler
getMockHandler()
Get mock handler for unit tests
Details
at line line 73
__construct(array $params, SenderCredentials $senderCreds)
Initializes the class with the given parameters.
The constructor accepts the following options:
profile_name(string, default=string "default") Profile name to useprofile_file(string) Profile file to load fromcompany_id(string) Intacct company IDuser_id(string) Intacct user IDuser_password(string) Intacct user passwordmock_handler(GuzzleHttp\Handler\MockHandler) Mock handler for unit tests
at line line 123
string
getCompanyId()
Get Intacct company ID
at line line 133
string
getUserId()
Get Intacct user ID
at line line 143
string
getPassword()
Get Intacct user password
at line line 153
SenderCredentials
getSenderCredentials()
Get sender credentials
at line line 163
Endpoint
getEndpoint()
Get endpoint
at line line 173
MockHandler
getMockHandler()
Get mock handler for unit tests