final-gene / rest-resource-authentication-module
Authentication functionality for REST resources
1.3.10
2019-12-11 12:24 UTC
Requires
- php: >=5.5.0
- league/uri: ^4.0
- zendframework/zend-config: ^2.5
- zendframework/zend-modulemanager: ^2.5
- zfcampus/zf-api-problem: ^1.1
- zfcampus/zf-rest: ^1.2
Requires (Dev)
- phpunit/phpunit: ^4.8
- zendframework/zend-filter: ^2.5
- zendframework/zend-form: ^2.5
- zendframework/zend-i18n: ^2.5
- zendframework/zend-inputfilter: ^2.5
- zendframework/zend-log: ^2.5
- zendframework/zend-serializer: ^2.5
- zendframework/zend-stdlib: ^2.5
- zendframework/zend-test: ^2.5
- zendframework/zend-validator: ^2.5
README
Usage
Bind authentication functionality to REST resources
Installation
-
$ composer require final-gene/rest-resource-authentication-module
-
add
FinalGene\RestResourceAuthenticationModule
to the modules array in your application config -
register your factory/invokable class in the service manager config
[ 'service_manager' => [ 'invokables' => [ 'FinalGene\RestResourceAuthenticationModule\Service\AuthenticationService' => 'FinalGene\RestResourceAuthenticationModule\Service\AuthenticationService', ], 'factories' => [ ], ], ];