Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | final class AuthSession implements AuthSessionInterface |
||
10 | { |
||
11 | /** @var null|string */ |
||
12 | private $state; |
||
13 | |||
14 | /** @var null|string */ |
||
15 | private $nonce; |
||
16 | |||
17 | 3 | public function getState(): ?string |
|
18 | { |
||
19 | 3 | return $this->state; |
|
20 | } |
||
21 | |||
22 | 3 | public function getNonce(): ?string |
|
23 | { |
||
24 | 3 | return $this->nonce; |
|
25 | } |
||
26 | |||
27 | 3 | public function setState(?string $state): void |
|
30 | 3 | } |
|
31 | |||
32 | 3 | public function setNonce(?string $nonce): void |
|
35 | 3 | } |
|
36 | |||
37 | 2 | public static function fromArray(array $array): AuthSessionInterface |
|
44 | } |
||
45 | |||
46 | 1 | public function jsonSerialize(): array |
|
54 |