Google Authenticator Java Library
Googleauth is a java server library that implements the time based one time password totp algorithm specified in rfc 6238.
Google authenticator java library. Two factor verification utilizing google authenticator library it help to verify the accessing user profile with security manner. Credential is a thread safe oauth 2 0 helper class for accessing protected resources using an access token. Google authenticator compatible 2 factor auth in java. If your website features a username password authentication system you owe it to your users to offer 2 factor authentication or 2fa for short as an additional measure of protection for their accounts.
Two factor verification utilizing google authenticator library it help to verify the accessing user profile with security manner. The oauth 2 0 packages in the google api client library for java are built on the general purpose google oauth 2 0 client library for java. If you plan to use a service account you need to set an environment variable. This implementation borrows from google authenticator whose c code has served as a reference and was created upon code published in this blog post by enrico m.
For general information about this process see the client registration specification credential and credential store. For details see the javadoc documentation for the. If you re unfamiliar with 2fa it s that step in the login sequence that asks the user for a. Before using the google oauth client library for java you probably need to register your application with an authorization server to receive a client id and client secret.
Github is home to over 40 million developers working together to host and review code manage projects and build software together.