-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCredential.php
49 lines (39 loc) · 967 Bytes
/
Credential.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
namespace Eddiejan\NetsuiteClient;
use Eddiejan\Package\CredentialInterface;
final class Credential implements CredentialInterface
{
public const CLIENT = Client::class;
public function __construct(
private string $realm,
private string $consumerKey,
private string $consumerSecret,
private string $token,
private string $tokenSecret,
private string $baseUri
) {}
public function getRealm(): string
{
return $this->realm;
}
public function getConsumerKey(): string
{
return $this->consumerKey;
}
public function getConsumerSecret(): string
{
return $this->consumerSecret;
}
public function getToken(): string
{
return $this->token;
}
public function getTokenSecret(): string
{
return $this->tokenSecret;
}
public function getBaseUri(): string
{
return $this->baseUri;
}
}