Skip to content

🔑 Bare-minimum example to verify a OTP against Yubikey's API.

License

Notifications You must be signed in to change notification settings

rouralberto/yubikey-otp-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yubikey-otp-php

🔑 Bare-minimum example to verify a OTP against Yubikey's API.

Requirements

  • curl enabled in PHP.
  • PEAR PHP extension.
  • Yubikey PEAR component.

Usage

  1. Install the Yubikey PEAR component:
$ wget https://developers.yubico.com/php-yubico/Releases/Auth_Yubico-2.5.tgz
$ pear install Auth_Yubico-2.5.tgz
  1. Go to Yubico to get an API KEY.
  2. Edit config.php with your credentials.

Contribute

Please fork and send pull requests =)

About

🔑 Bare-minimum example to verify a OTP against Yubikey's API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published