Skip to content

Commit 0c2a8d5

Browse files
Add getters for private key and hash algorithm.
1 parent 0f7f0f3 commit 0c2a8d5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/Client/Client.php

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Client
3030
private $claims;
3131

3232
/**
33-
* @var string
33+
* @var string|null
3434
*/
3535
private $hashAlgorithm;
3636

@@ -40,7 +40,7 @@ class Client
4040
private $httpClient;
4141

4242
/**
43-
* @var string
43+
* @var string|null
4444
*/
4545
private $privateKey;
4646

@@ -67,6 +67,16 @@ public function getApiKey(): string
6767
return $this->apiKey;
6868
}
6969

70+
public function getPrivateKey(): ?string
71+
{
72+
return $this->privateKey;
73+
}
74+
75+
public function getHashAlgorithm(): ?string
76+
{
77+
return $this->hashAlgorithm;
78+
}
79+
7080
public function getClaims(): array
7181
{
7282
return [];

0 commit comments

Comments
 (0)