-
Notifications
You must be signed in to change notification settings - Fork 1
jds13/RFC6238-PHP
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
If you access this file through a PHP-enabled webserver (like Apache), it will display a QR-code to initialize an RFC6238 time-based one-time password (as used by Google Authenticator). You can enter test values, hit "Check", and verify that the program logic works. In this example, the UserSecretKey is a hash of the user IP address. In the real world, the UserSecretKey would be randomly generated when a user initiated this process, and saved in a server database for subsequent verification.
About
119 lines of code to demo RFC6238 TOTP (e.g. Google Authenticator) with Ajax validation.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published