final-gene/rest-resource-authentication-module

Authentication functionality for REST resources

1.3.10 2019-12-11 12:24 UTC

This package is auto-updated.

Last update: 2024-04-11 22:19:46 UTC


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' => [
           ],
       ],
      ];