Update README.md

This commit is contained in:
Rob Janssen
2015-03-17 17:29:05 +01:00
parent 1e20bf0a52
commit 09cf69c150
+2 -3
View File
@@ -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