2017 © Pedro Peláez
 

library yubikey

Yubikey for Laravel 4

image

monarobase/yubikey

Yubikey for Laravel 4

  • Monday, November 18, 2013
  • by Monarobase
  • Repository
  • 2 Watchers
  • 10 Stars
  • 88 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Yubikey

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)

Installation

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)

Configuration

Run php artisan config:publish monarobase/yubikey and modify the config file with your own information., (*10)

Example

try
{
    $yubikey_auth = Yubikey::verify(Input::get('otp'));
    $yubikey_params = Yubikey::getParameters();
    $yubikey_identity = Yubikey::getParameter('identity');
}
catch (Exception $e)
{
    $error = $e->getMessage();
}

The Versions

18/11 2013

dev-master

9999999-dev

Yubikey for Laravel 4

  Sources   Download

MIT

The Requires

 

laravel laravel4 yubikey

18/11 2013

1.0.0

1.0.0.0

Yubikey for Laravel 4

  Sources   Download

MIT

The Requires

 

laravel laravel4 yubikey