dev-master
9999999-devYubikey for Laravel 4
MIT
The Requires
- php >=5.3.0
- illuminate/support 4.x
laravel laravel4 yubikey
1.0.0
1.0.0.0Yubikey for Laravel 4
MIT
The Requires
- php >=5.3.0
- illuminate/support 4.x
laravel laravel4 yubikey
Wallogit.com
2017 © Pedro Peláez
Yubikey for Laravel 4
Yubikey for Laravel 4, (*1)
Increase the security of your forms with ease using a USB key, (*2)
Buy a Yubikey, (*3)
Yubico API Key Generator, (*4)
Add monarobase/yubikey to composer.json., (*5)
"monarobase/yubikey": "dev-master"
Run composer update to pull down the latest version of Yubikey., (*6)
Now open up app/config/app.php and add the service provider to your providers array., (*7)
'providers' => array(
'Monarobase\Yubikey\YubikeyServiceProvider',
)
Now add the alias., (*8)
'aliases' => array(
'Yubikey' => 'Monarobase\Yubikey\YubikeyFacade',
)
You can easily integrate the Yubikey Verification into your authentication system in two steps :
- Add a field (eg yubikey_identity) in your user table
- now check your user with username/email + password + yubikey_identity, (*9)
Run php artisan config:publish monarobase/yubikey and modify the config file with your own information., (*10)
try
{
$yubikey_auth = Yubikey::verify(Input::get('otp'));
$yubikey_params = Yubikey::getParameters();
$yubikey_identity = Yubikey::getParameter('identity');
}
catch (Exception $e)
{
$error = $e->getMessage();
}
Yubikey for Laravel 4
MIT
laravel laravel4 yubikey
Yubikey for Laravel 4
MIT
laravel laravel4 yubikey