library yubikey-otp-bundle
Validate Yubikey OTP in Symfony2
pmdevelopment/yubikey-otp-bundle
Validate Yubikey OTP in Symfony2
- Thursday, March 1, 2018
- by pmdevelopment
- Repository
- 1 Watchers
- 1 Stars
- 199 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 4 Versions
- 4 % Grown
Yubikey OTP Symfony2 Bundle
Install
Add to composer:, (*1)
composer require "pmdevelopment/yubikey-otp-bundle" "dev-master"
Add to kernel:, (*2)
new PM\Bundle\YubikeyOtpBundle\PMYubikeyOtpBundle(),
Add to config.yml, (*3)
pm_yubikey_otp:
server:
uri: https://api2.yubico.com/wsapi/2.0/
client_id: YourClientId
client_secret: YourApiKey
Usage
Now you can validate any a OTP by using a service, (*4)
$this->get("pm_yubikey_otp.validation")->verify("YourOtpToValidate", "OptionalTheIdentityYouExpect");
dev-master
9999999-dev
Validate Yubikey OTP in Symfony2
Sources
Download
MIT
The Requires
1.1
1.1.0.0
Validate Yubikey OTP in Symfony2
Sources
Download
MIT
The Requires
1.0.1
1.0.1.0
Validate Yubikey OTP in Symfony2
Sources
Download
MIT
The Requires
1.0
1.0.0.0
Validate Yubikey OTP in Symfony2
Sources
Download
MIT
The Requires