├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── resources └── config │ └── shield.php ├── src ├── Contracts │ └── Service.php ├── Exceptions │ ├── Exception.php │ ├── UnknownServiceException.php │ └── UnsupportedDriverException.php ├── Http │ └── Middleware │ │ └── Shield.php ├── Manager.php ├── Providers │ └── ShieldServiceProvider.php └── Support │ └── BasicAuth.php └── tests └── Unit ├── ManagerTest.php ├── MiddlewareTest.php └── Support └── BasicAuthTest.php /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /.idea 3 | .DS_Store 4 | coverage.xml 5 | composer.lock 6 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Shield 2 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/phpunit.xml -------------------------------------------------------------------------------- /resources/config/shield.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/resources/config/shield.php -------------------------------------------------------------------------------- /src/Contracts/Service.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Contracts/Service.php -------------------------------------------------------------------------------- /src/Exceptions/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Exceptions/Exception.php -------------------------------------------------------------------------------- /src/Exceptions/UnknownServiceException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Exceptions/UnknownServiceException.php -------------------------------------------------------------------------------- /src/Exceptions/UnsupportedDriverException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Exceptions/UnsupportedDriverException.php -------------------------------------------------------------------------------- /src/Http/Middleware/Shield.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Http/Middleware/Shield.php -------------------------------------------------------------------------------- /src/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Manager.php -------------------------------------------------------------------------------- /src/Providers/ShieldServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Providers/ShieldServiceProvider.php -------------------------------------------------------------------------------- /src/Support/BasicAuth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/src/Support/BasicAuth.php -------------------------------------------------------------------------------- /tests/Unit/ManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/tests/Unit/ManagerTest.php -------------------------------------------------------------------------------- /tests/Unit/MiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/tests/Unit/MiddlewareTest.php -------------------------------------------------------------------------------- /tests/Unit/Support/BasicAuthTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laravel-shield/shield/HEAD/tests/Unit/Support/BasicAuthTest.php --------------------------------------------------------------------------------