summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Janssen <rob@devcorner.nl>2015-03-17 17:29:05 +0100
committerRob Janssen <rob@devcorner.nl>2015-03-17 17:29:05 +0100
commit09cf69c1504b82493320f582d3a005eb053e3bbd (patch)
tree4a2f26c59163c467d75236dba2431c65182a0cf6
parent1e20bf0a52cca89f7a8d5f459b8c67372df54fc9 (diff)
downloadTwoFactorAuth-09cf69c1504b82493320f582d3a005eb053e3bbd.zip
TwoFactorAuth-09cf69c1504b82493320f582d3a005eb053e3bbd.tar.gz
TwoFactorAuth-09cf69c1504b82493320f582d3a005eb053e3bbd.tar.bz2
Update README.md
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index ae96d2b..993b576 100644
--- a/README.md
+++ b/README.md
@@ -98,14 +98,13 @@ Ok, so now the code has been verified and found to be correct. Now we can store
Simple as 1-2-3.
-All we need to remember is 4 methods and a constructor:
+All we need is 3 methods and a constructor:
````php
__construct($issuer=null, $digits=6, $period=30, $algorithm='sha1', $qrcodeprovider=null, $rngprovider=null)
createSecret($bits = 80, $requirecryptosecure = true)
-getCode($secret, $time = null)
-verifyCode($secret, $code, $discrepancy = 1, $time = null)
getQRCodeImageAsDataUri($label, $secret, $size = 200)
+verifyCode($secret, $code, $discrepancy = 1, $time = null)
````
### QR-code providers