| Total Lines | 44 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 19 | interface BasicAuthInterface | ||
| 20 | { | ||
| 21 | /** | ||
| 22 | * @return string | ||
| 23 | */ | ||
| 24 | public function getUsername(); | ||
| 25 | |||
| 26 | /** | ||
| 27 | * @param string $username | ||
| 28 | */ | ||
| 29 | public function setUsername($username); | ||
| 30 | |||
| 31 | /** | ||
| 32 | * @return string | ||
| 33 | */ | ||
| 34 | public function getPassword(); | ||
| 35 | |||
| 36 | /** | ||
| 37 | * @param string $password | ||
| 38 | */ | ||
| 39 | public function setPassword($password); | ||
| 40 | |||
| 41 | /** | ||
| 42 | * @return bool | ||
| 43 | */ | ||
| 44 | public function hasMatcher(); | ||
| 45 | |||
| 46 | /** | ||
| 47 | * @return string|callable|null | ||
| 48 | */ | ||
| 49 | public function getMatcher(); | ||
| 50 | |||
| 51 | /** | ||
| 52 | * @param string|callable|null $matcher | ||
| 53 | */ | ||
| 54 | public function setMatcher($matcher); | ||
| 55 | |||
| 56 | /** | ||
| 57 | * @param InternalRequestInterface $internalRequest | ||
| 58 | * | ||
| 59 | * @return InternalRequestInterface | ||
| 60 | */ | ||
| 61 | public function authenticate(InternalRequestInterface $internalRequest); | ||
| 62 | } | ||
| 63 |