mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 10:41:32 +00:00
The latest images incorporate all changes previously added by the dockerfiles. The arm image however is still missing/unreliable from the registry and must be built independently.
14 lines
313 B
PHP
14 lines
313 B
PHP
<?php
|
|
|
|
namespace AfricasTalking\SDK;
|
|
|
|
class Token extends Service
|
|
{
|
|
public function generateAuthToken()
|
|
{
|
|
$requestData = json_encode(['username' => $this->username]);
|
|
$response = $this->client->post('auth-token/generate', ['body' => $requestData ] );
|
|
return $this->success($response);
|
|
}
|
|
}
|