| Total Complexity | 9 |
| Total Lines | 78 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class Consent |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $clientId; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $userAccountId; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | private $requestedScope; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | private $grantedScope; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var string |
||
| 40 | */ |
||
| 41 | private $requestedClaims; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var string |
||
| 45 | */ |
||
| 46 | private $grantedClaims; |
||
| 47 | |||
| 48 | public function __construct(string $clientId, string $userAccountId, string $scope, string $claims) |
||
| 49 | { |
||
| 50 | $this->clientId = $clientId; |
||
| 51 | $this->userAccountId = $userAccountId; |
||
| 52 | $this->requestedScope = $scope; |
||
| 53 | $this->requestedClaims = $claims; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function getClientId(): string |
||
| 57 | { |
||
| 58 | return $this->clientId; |
||
| 59 | } |
||
| 60 | |||
| 61 | public function getUserAccountId(): string |
||
| 62 | { |
||
| 63 | return $this->userAccountId; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function getRequestedScope(): string |
||
| 67 | { |
||
| 68 | return $this->requestedScope; |
||
| 69 | } |
||
| 70 | |||
| 71 | public function getRequestedClaims(): string |
||
| 72 | { |
||
| 73 | return $this->requestedClaims; |
||
| 74 | } |
||
| 75 | |||
| 76 | public function getGrantedScope(): string |
||
| 77 | { |
||
| 78 | return $this->grantedScope; |
||
| 79 | } |
||
| 80 | |||
| 81 | public function setGrantedScope(string $grantedScope): void |
||
| 84 | } |
||
| 85 | |||
| 86 | public function getGrantedClaims(): string |
||
| 89 | } |
||
| 90 | |||
| 91 | public function setGrantedClaims(string $grantedClaims): void |
||
| 92 | { |
||
| 94 | } |
||
| 95 | } |
||
| 96 |