Download the PHP package icybee/module-users-noncelogin without Composer
On this page you can find all versions of the php package icybee/module-users-noncelogin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download icybee/module-users-noncelogin
More information about icybee/module-users-noncelogin
Files in icybee/module-users-noncelogin
Package module-users-noncelogin
Short Description Provides nonce login tickets to users who have forgot their password.
License BSD-3-Clause
Informations about the package module-users-noncelogin
Nonce Login
Provides nonce login tickets to users who forgot their password, allowing them to reset their password and login in the mean time.
Requesting a ticket
Tickets are requested with the NonceLoginRequestOperation operation. The
api:nonce-login-request
and api:inline-nonce-login-request
routes can be used to format a URL
for this operation. The operation can only be performed with the POST
HTTP method.
To prevent abuses, a cooldown period is required before another ticket can be requested for the same user. A TicketAlreadySent exception is thrown in attempt to request a ticket before the end of that period.
If everything goes well, a message is sent to the user with a link to a NonceLoginForm.
The message is sent by an event hook attached to the Icybee\Modules\Users\NonceLogin\NonceLoginRequestOperation::process
event, using the mail()
prototype method, which is usually provided by the icanboogie/mailer
package.
Altering the message or the mailer sending it
If the ICanBoogie\Core::mail()
method is provided by the icanboogie/mailer package,
the Icybee\Modules\Users\NonceLogin\NonceLoginRequestOperation::mail:before
event can be used to
alter the message or the mailer sending it.
Exceptions
The following exception are defined:
- TicketAlreadySent: Exception thrown in attempt to request a ticket before the end of the cooldown period.
Requirement
The package requires PHP 5.4 or later.
Installation
The recommended way to install this package is through Composer:
This module is part of the modules required by Icybee.
Cloning the repository
The package is available on GitHub, its repository can be cloned with the following command line:
$ git clone https://github.com/Icybee/module-users-noncelogin.git users.noncelogin
Documentation
The package is documented as part of the Icybee CMS
documentation. The documentation for the package and its
dependencies can be generated with the make doc
command. The documentation is generated in
the docs
directory using ApiGen. The package directory can later by
cleaned with the make clean
command.
Testing
The test suite is ran with the make test
command. Composer is
automatically installed as well as all the dependencies required to run the suite. The package
directory can later be cleaned with the make clean
command.
The package is continuously tested by Travis CI.
License
The module is licensed under the New BSD License - See the LICENSE file for details.
All versions of module-users-noncelogin with dependencies
icanboogie/module-installer Version ~1.2
icanboogie/activerecord Version ~2.1
icanboogie/i18n Version ~2.0
icybee/module-users Version ~2.0
icybee/module-registry Version ~2.0