| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | abstract class ConfidentialClient extends RegisteredClient implements ConfidentialClientInterface |
||
| 16 | { |
||
| 17 | protected $password; |
||
| 18 | |||
| 19 | public function __construct(string $identifier, string $password, ClientMetadataInterface $metadata) |
||
| 20 | { |
||
| 21 | parent::__construct($identifier, $metadata); |
||
| 22 | $this->password = $password; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function getPassword(): string |
||
| 31 | } |
||
| 32 | |||
| 33 | public function hasCredentials(): bool |
||
| 36 | } |
||
| 37 | } |