pg / http-auth
This package is abandoned and no longer maintained.
No replacement package was suggested.
Extension for Nette Framework: set presenters names to secure and they will be secured via http authentification. IAuthenticator service is used for validating user credentials.
v1.1.2
2018-08-25 06:27 UTC
Requires
- nette/application: ^2.3|^2.4
- nette/di: ^2.3|^2.4
- nette/http: ^2.3|^2.4
- nette/security: ^2.4
Requires (Dev)
- mockery/mockery: ~0.9
- nette/tester: ~1.7
README
HttpAuth
- Install via composer
composer require pg/http-auth
- Register extension in
config.neon
:
extensions: httpAuth: PG\HttpAuth\DI\HttpAuthExtension
Do not forget to register IAuthenticator service.
- Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format -
Module:Module:Presenter
:
simpleHttpAuth: presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter