Yubico Forum https://forum.yubico.com/ |
|
Another PHP implementation https://forum.yubico.com/viewtopic.php?f=5&t=105 |
Page 1 of 1 |
Author: | jwoltman [ Mon Jun 16, 2008 7:18 pm ] |
Post subject: | Another PHP implementation |
I have updated the Google Code project at http://code.google.com/p/yubico-php-lib/ with all the code I've been working on. Here's a brief intro:
Documentation and a new zip file are available - the documention is also here: http://yubico-php-lib.googlecode.com/fi ... c-0.1.html Please Contribute I'm not a PHP ace, so if someone could help me make it better, please do. Areas that need work:
Thoughts and criticism welcome. Quick HOW-TO Guide Based on the SQLite example.
|
Author: | jwoltman [ Tue Jun 17, 2008 11:14 pm ] |
Post subject: | Re: Another PHP implementation |
I have updated the implementation to better support SQLite. You use the add_user() method to insert users into a database along with their Yubikey info. Use authenticate_user() to authenticate a user against the database. The method setup_database() creates a sample database. The constructor for the SQLiteAuth class takes the path to the database as its only parameter. You can download the updates at: http://code.google.com/p/yubico-php-lib/downloads/list |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |