1234567891011121314151617181920212223242526272829303132333435 |
- <?php namespace App\Http\Filters;
- use Illuminate\Contracts\Auth\Authenticator;
- class BasicAuthFilter {
-
- protected $auth;
-
- public function __construct(Authenticator $auth)
- {
- $this->auth = $auth;
- }
-
- public function filter()
- {
- return $this->auth->basic();
- }
- }
|