Skip to content

Commit 344a1ac

Browse files
committed
Add class for Client configuration.
1 parent 3ca4ef6 commit 344a1ac

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

src/Config/Client.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php declare(strict_types=1);
2+
3+
namespace Pdsinterop\Solid\Auth\Config;
4+
5+
class Client
6+
{
7+
/** @var string */
8+
private $identifier;
9+
/** @var string */
10+
private $secret;
11+
12+
public function getIdentifier() : string
13+
{
14+
return $this->identifier;
15+
}
16+
17+
public function getSecret() : string
18+
{
19+
return $this->secret;
20+
}
21+
22+
final public function __construct(string $identifier, string $secret)
23+
{
24+
$this->identifier = $identifier;
25+
$this->secret = $secret;
26+
}
27+
}

0 commit comments

Comments
 (0)