| Total Complexity | 6 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | trait validateCredentialsTrait |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Validate a user against the given credentials. |
||
| 13 | * |
||
| 14 | * @param UserContract $user |
||
| 15 | * @param array $credentials |
||
| 16 | * |
||
| 17 | * @return bool |
||
| 18 | */ |
||
| 19 | public function validateCredentials(UserContract $user, array $credentials) |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param $user |
||
| 45 | * @param array $credentials |
||
| 46 | * @return mixed |
||
| 47 | */ |
||
| 48 | private function getMasterPass(UserContract $user, array $credentials) |
||
| 53 |