X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=example%2Fprovisioning%2Findex.php;h=8e6f37f31cdc67e6d998d3c98c24f763a75d262f;hb=d751cc8f54e6e8b05e5d9d549fedde8fa713aa71;hp=c3577ed0a76242d450d324a988262495ed2eda41;hpb=ddd5c8118fb9ad4f6e8f4ea7371f189e1b152064;p=ga4php.git diff --git a/example/provisioning/index.php b/example/provisioning/index.php index c3577ed..8e6f37f 100644 --- a/example/provisioning/index.php +++ b/example/provisioning/index.php @@ -33,6 +33,13 @@ if(isset($_REQUEST["failure"])) { ?>
+How to use this page - Create a user with the "Users" form. Once a user is created, then in the "Create Token" form, +select the user from the drop down box and then select a token type, then click "provision". In the main user list section +your user should now have a qrcode representing the key for that user. Pull our your mobile phone (with the google +authenticator app from the market) and scan in the code. Next, select the user who's authentication you wish to test from +the drop down list under "test authentication" section, generate a code for that user on your phone and click "Auth". +this should fail/succeed depending on whether you have typed in the right code. +
@@ -82,6 +89,7 @@ Create a User:
Username/login: Full Name: +Password:
@@ -115,7 +123,7 @@ Token Type - +
@@ -140,7 +148,7 @@ closedatabase($db); - +