Is there public API for using the Google Authenticator (two factor authentication) on self-running (e.g. LAMP stack) web apps?
You can use my solution, posted as the answer to my question (there is full Python code and explanation):
Google Authenticator implementation in Python
It is rather easy to implement it in PHP or Perl, I think. If you have any problems with this, please let me know.
I have also posted my code on GitHub as Python module.