Download the PHP package geoffry304/yii2-authy without Composer
On this page you can find all versions of the php package geoffry304/yii2-authy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download geoffry304/yii2-authy
More information about geoffry304/yii2-authy
Files in geoffry304/yii2-authy
Package yii2-authy
Short Description Yii2 authy 2FA
License BSD-3-Clause
Homepage https://github.com/geoffry304/yii2-authy
Informations about the package yii2-authy
yii2-authy
Extension for using 2FA from Authy with Yii2 and amnah/yii2-user
Installation
The preferred way to install yii2-authy is through Composer. Either add the following to the require section of your composer.json
file:
"geoffry304/yii2-authy": "*"
Or run:
$ php composer.phar require geoffry304/yii2-authy "*"
You can manually install yii2-authy by downloading the source in ZIP-format.
Run the migration file
Update the config file
Using Authy
You need to add this piece of code before you try performLogin
Options
Module Has the following options to modify it's behaviour:
- api_key: The key you get from authy website to make connection with it.
- api_url: If you want to use an other url standard to https://api.authy.com.
- default_expirytime: The expire time the user will need to insert a new token standard to 30 days.
- send_mail: Send mail when new device is added, standard to true.
- send_mail_from: Send mail from required when send_mail is on.
- logo: Path tho logo used in confirmation and registration form and also in sending mail.
If you need extra security, you can check on every action and controller if the current session still exist in db.
Update the config file
All versions of yii2-authy with dependencies
authy/php Version 3.0
borales/yii2-phone-input Version dev-master
kartik-v/yii2-grid Version @dev
kartik-v/yii2-krajee-base Version @dev
mobiledetect/mobiledetectlib Version ^2.8