dev-master
9999999-devThis package is a simple login form with some utilities
The Requires
This package is a simple login form with some utilities
This package is a lightweight authentication wrapper around a given package. A TYPO3 Flow package with the following features:, (*1)
These features have their own workflows, based on some research the idea was to make the registration as basic as possible. The package is built on the features that are provided in the security framework of TYPO3.Flow and require only a little configuration., (*2)
Usage: - Security layer for any application - Inspiration, (*3)
To incluse this package into your TYPO3 Flow application just run:, (*4)
composer require refactory/login
Then you need to run migrations to include the tables., (*5)
./flow doctrine:migrate
To Enable routing to package, (*6)
- name: 'Login' uriPattern: '<LoginSubroutes>' subRoutes: LoginSubroutes: package: Refactory.Login
Profit!, (*7)
, (*8)
, (*9)
The initial view will show a login panel., (*10)
When authenticated but not configured, the package will redirect to the Signed In page by default. The Signed In view will show you with what "account.identifier" you have been authenticated., (*11)
Through Configuration/Settings.yaml you will be able to configure options like redirects to a package, registration and so on., (*12)
To be able to address the login feature you will need to add these routes in the general Configuration/Routes.yaml, (*13)
- name: 'Login' uriPattern: '<LoginSubroutes>' subRoutes: LoginSubroutes: package: Refactory.Login
Add the viewhelper to fluid and call the viewhelper function., (*14)
{namespace secure=Refactory\Login\ViewHelpers} <secure:account propertyPath="party.name" />
When the action is unauthorized the TYPO3.Flow framework will redirect the package to a location set with the Settings.yaml configuration., (*15)
TYPO3: Flow: security: authentication: providers: DefaultProvider: entryPoint: 'WebRedirect' entryPointOptions: routeValues: '@package': 'Refactory.Login' '@controller': 'Login' '@action': 'login'
See for reference: http://flow.typo3.org/documentation/guide/partiii/security.html, (*16)
Author: Sebastiaan van Parijs (svparijs@refactory.it), (*17)
This package is a simple login form with some utilities