-
Type:
Sub-task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: Main back-end mechanisms (Worker, Logging, etc.)
-
Emptyshow more show less
problem:
"Currently, Zend\Http\Client only supports basic HTTP authentication."
(https://docs.zendframework.com/zend-http/client/advanced/#http-authentication)
=> How to access GroupShares Translation Memeory Service? (The API requests a bearer token for Authentication.)
solution:
$http->setHeaders('Authorization: Bearer ' . $bearerToken);