fgsl / microserviceframework
Fgsl Microservice Framework
Package info
github.com/fgsl/microserviceframework
Type:framework
pkg:composer/fgsl/microserviceframework
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
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.