Download the PHP package grixu/passport-module-auth without Composer
On this page you can find all versions of the php package grixu/passport-module-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download grixu/passport-module-auth
More information about grixu/passport-module-auth
Files in grixu/passport-module-auth
Package passport-module-auth
Short Description This package provides model, command & middleware to easily forbid access to certain modules(domains in DDD) when using Client Credentials Grant Tokens
License MIT
Homepage https://github.com/grixu/passport-module-auth
Informations about the package passport-module-auth
Passport Module Auth
This package provides model, commands & middleware to easily forbid access to certain modules(domains in DDD) when using Client Credentials Grant Tokens.
Installation
You can install the package via composer:
Usage
Publish config file to adjust module names in your project:
Add the middleware to your Kernel class which handling HTTP requests in your Laravel project. In default project scaffold you should edit: app/Http/Kernel.php
Then just use it in your controllers or routes. Remember about passing module name!
Artisan command
You can use artisan command passport:module-auth
to manage entries in Module Auth system.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- grixu
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of passport-module-auth with dependencies
illuminate/database Version ^8.0
illuminate/http Version ^8.0
illuminate/support Version ^8.0
illuminate/console Version ^8.0
laravel/passport Version ^10.1