| Total Complexity | 6 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 55.56% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class AuthSession implements AuthSessionInterface |
||
| 8 | { |
||
| 9 | /** @var null|string */ |
||
| 10 | private $state; |
||
| 11 | |||
| 12 | /** @var null|string */ |
||
| 13 | private $nonce; |
||
| 14 | |||
| 15 | 1 | public function getState(): ?string |
|
| 16 | { |
||
| 17 | 1 | return $this->state; |
|
| 18 | } |
||
| 19 | |||
| 20 | 1 | public function getNonce(): ?string |
|
| 21 | { |
||
| 22 | 1 | return $this->nonce; |
|
| 23 | } |
||
| 24 | |||
| 25 | 1 | public function setState(?string $state): void |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | 1 | public function setNonce(?string $nonce): void |
|
| 31 | { |
||
| 32 | 1 | $this->nonce = $nonce; |
|
| 33 | 1 | } |
|
| 34 | |||
| 35 | public static function fromArray(array $array): AuthSessionInterface |
||
| 42 | } |
||
| 43 | |||
| 44 | public function jsonSerialize() |
||
| 52 |