| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ApiKeyCredentials implements Credentials |
||
| 13 | { |
||
| 14 | /** @var string */ |
||
| 15 | private $accessKey; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $secretKey; |
||
| 19 | |||
| 20 | public function __construct(string $accessKey, string $secretKey) |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getAccessKey(): string |
||
| 27 | { |
||
| 28 | return $this->accessKey; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getSecretKey(): string |
||
| 32 | { |
||
| 33 | return $this->secretKey; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getHash(): string |
||
| 39 | } |
||
| 40 | |||
| 41 | public function provide(DigiSign $dgs): Token |
||
| 49 |