Reputation: 849
I want to use Google Authenticator as one of the security lock in my application. I want to know if there are public APIs available to use Google Authenticator for this purpose. It's a non-google android application which does not need a google account.
Thanks & Regards,
Upvotes: 4
Views: 3946
Reputation: 671
Sure you can. You don't need APIs, the Authenticator is completely open source, and doesn't need to talk to Google servers. There's also a convenient PAM if you're doing straightforward auth. Essentially, you need to get a secret key from the auth module that you enter into the phone app, and you're good to go.
See here for an example of using it to second factor ssh.
Upvotes: 1