Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moritzsternemann/qgoogleauthenticator
A library for Qt providing Google Authenticator features
https://github.com/moritzsternemann/qgoogleauthenticator
Last synced: 16 days ago
JSON representation
A library for Qt providing Google Authenticator features
- Host: GitHub
- URL: https://github.com/moritzsternemann/qgoogleauthenticator
- Owner: moritzsternemann
- License: gpl-2.0
- Created: 2014-01-10T23:53:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-14T14:39:41.000Z (almost 11 years ago)
- Last Synced: 2023-08-09T21:48:26.339Z (over 1 year ago)
- Language: C++
- Size: 156 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
QGoogleAuthenticator
====================*Library optimized for Qt 5.2.0*
A [Google Authenticator](http://code.google.com/p/google-authenticator/) library including the following features:
* Generate a Google Authenticator secret
* Check a code
* Get a new code based on timestampHow to build
------------
* Open .pro in QtCreator, specify build directory for release and/or debug target and hit "Build"
* Or: run qmake and make from command lineHow to use
----------In your .pro file add:
```
LIBS += ""
```And in your source add:
```
#include "qgoogleauthenticator.h"
```
WARNING: You need to have access to base32.h, hmac.h and qgoogleauthenticator_global.h in qgoogleauthenticator.h* To generate a new secret call ```QGoogleAuthenticator::generate_secret();```
* To check a code call ```QGoogleAuthenticator::checkCode(, );```
* To get a new code call ```QGoogleAuthenticator::getCode(,