ublaboo / simple-http-auth
Extension for Nette Framework: set user, password and presenters names to secure and they will be secured via simple http authentification
Installs: 12 353
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- nette/application: ^3.0
- nette/di: ^3.0
- nette/http: ^3.0
Requires (Dev)
- mockery/mockery: dev-master
- nette/tester: ~2.2.0
README
SimpleHttpAuth
1, Install via composer
composer require ublaboo/simple-http-auth
2, Register extension in config.neon
:
extensions: simpleHttpAuth: Ublaboo\SimpleHttpAuth\DI\SimpleHttpAuthExtension
3, Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - Module:Module:Presenter
:
simpleHttpAuth:
username: admin
password: rbxpmYsPB6RSlqMIUV8i
presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter