sander3 /
laravel-magic-auth
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Soved\Laravel\Magic\Auth\Contracts; |
||
| 4 | |||
| 5 | use Closure; |
||
| 6 | use Illuminate\Http\Request; |
||
|
0 ignored issues
–
show
|
|||
| 7 | |||
| 8 | interface LinkBroker |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Constant representing a successfully sent magic link. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | const MAGIC_LINK_SENT = 'magic-auth::messages.link_sent'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Constant representing a successful magic login. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | const USER_AUTHENTICATED = 'magic-auth::messages.authenticated'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Constant representing the user not found response. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | const INVALID_USER = 'magic-auth::messages.user'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constant representing an invalid signature. |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | const INVALID_SIGNATURE = 'magic-auth::messages.signature'; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Send a magic link to a user. |
||
| 40 | * |
||
| 41 | * @param array $credentials |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function sendMagicLink(array $credentials); |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Log the user into the application. |
||
| 48 | * |
||
| 49 | * @param \Illuminate\Http\Request $request |
||
| 50 | * @param \Closure $callback |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public function login( |
||
| 54 | Request $request, |
||
| 55 | Closure $callback |
||
| 56 | ); |
||
| 57 | } |
||
| 58 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths