fgsl / microserviceframework
Fgsl Microservice Framework
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:framework
Requires
- php: >=7.0
- fgsl/http: 1.2.1
- fgsl/jwt: 1.1.1
- laminas/laminas-authentication: ^2.7
- laminas/laminas-diactoros: ^1.7.1 || ^2.0
- laminas/laminas-permissions-rbac: ^3.0
- laminas/laminas-servicemanager: ^3.3
- laminas/laminas-session: ^2.9
- mezzio/mezzio: ^3.0.1
- mezzio/mezzio-helpers: ^5.0
- mezzio/mezzio-laminasrouter: ^3.0
- mezzio/mezzio-laminasviewrenderer: ^2.0
- phpunit/phpunit: ^8.3
README
Authentication
Class JwtAdapter provides authentication based on Javascript Web Token. It was designed to work as provider for Laminas\Authentication.
Middleware
Class AbstractAuthHandler provides a HTTP handling with authentication and authorization control.
Class AbstractAclHandlerFactory makes easy to create factories for handlers with access control. This class use the model AclFactory to create a permission control based on component Laminas\Permissions\Rbac.
Class AclHandler provides a HTTP handler for a authorization error page. Use AclHandlerFactory to create instances of AclHandler.
Class LogoutHandler provides a standard HTTP handler for exiting from an application. Use LogoutHandlerFactory to create instances of LogoutHandler.
Class SessionMiddleware enables use of session for an application.