| Total Complexity | 7 |
| Total Lines | 64 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait AuthenticateException |
||
| 6 | {
|
||
| 7 | /** |
||
| 8 | * @return void|mixed |
||
| 9 | */ |
||
| 10 | public function getExceptionForHttp($http) |
||
| 11 | {
|
||
| 12 | exception('authenticateHttpException')->badMethodCall('Authenticate requests ['.$http.'] as http method');
|
||
| 13 | } |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return void|mixed |
||
| 17 | */ |
||
| 18 | public function credentials() |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $exceptionType |
||
| 25 | */ |
||
| 26 | public function exceptionManager($exceptionType) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * logout exception |
||
| 33 | * |
||
| 34 | * @return mixed|void |
||
| 35 | */ |
||
| 36 | public function logoutException() |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * logout exception |
||
| 43 | * |
||
| 44 | * @return mixed|void |
||
| 45 | */ |
||
| 46 | public function logoutInternal() |
||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * token exception |
||
| 53 | * |
||
| 54 | * @return mixed|void |
||
| 55 | */ |
||
| 56 | public function tokenException() |
||
| 57 | {
|
||
| 58 | exception('authenticateTokenException')->invalidArgument('Your token is missing for authenticate process');
|
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * update exception |
||
| 63 | * |
||
| 64 | * @return mixed|void |
||
| 65 | */ |
||
| 66 | public function update() |
||
| 69 | } |
||
| 70 | } |