| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | trait EntityAuthenticationViaTokenTrait |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Authenticate a user or a client entity. |
||
| 24 | * |
||
| 25 | * @param string $correctPassphrase The correct passphrase information. |
||
| 26 | * @param string $suppliedPassphrase The supplied passphrase information. |
||
| 27 | * |
||
| 28 | * @return bool The identity authentication result. |
||
| 29 | * @throws \Exception Validation errors. |
||
| 30 | */ |
||
| 31 | public function authenticateEntity($correctPassphrase, $suppliedPassphrase) |
||
| 46 |