protected function USPSRequest::getAuth in Commerce USPS 8
Returns authentication array for a request.
Return value
array An array of authentication parameters.
File
- src/
USPSRequest.php, line 32
Class
- USPSRequest
- USPS API Service.
Namespace
Drupal\commerce_uspsCode
protected function getAuth() {
return [
'user_id' => $this->configuration['api_information']['user_id'],
'password' => $this->configuration['api_information']['password'],
];
}