Update README.md
This commit is contained in:
parent
8745e27827
commit
461202f0ed
17
README.md
17
README.md
|
@ -24,13 +24,6 @@ Browser Authenticator
|
||||||
|
|
||||||
You may also be interested in [Browser Authenticator](https://github.com/Daplie/browser-authenticator) over at <https://github.com/Daplie/browser-authenticator>
|
You may also be interested in [Browser Authenticator](https://github.com/Daplie/browser-authenticator) over at <https://github.com/Daplie/browser-authenticator>
|
||||||
|
|
||||||
OTPAuth Scheme
|
|
||||||
--------------
|
|
||||||
|
|
||||||
* <https://github.com/google/google-authenticator/wiki/Key-Uri-Format>
|
|
||||||
* `otpauth://totp/<<ISSUER>>:<<ACCOUNT_NAME>>?secret=<<BASE32_KEY>>&issuer=<<ISSUER>>`
|
|
||||||
* `otpauth://totp/<<ISSUER>>:<<ACCOUNT_NAME>>?secret=<<BASE32_KEY>>&issuer=<<ISSUER>>&algorithm=<<ALGO>>&digits=<<INT>>&period=<<SECONDS>>`
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
@ -56,7 +49,15 @@ authenticator.verifyToken(formattedKey, '000 000');
|
||||||
// null
|
// null
|
||||||
```
|
```
|
||||||
|
|
||||||
### API
|
OTPAuth Scheme
|
||||||
|
--------------
|
||||||
|
|
||||||
|
* <https://github.com/google/google-authenticator/wiki/Key-Uri-Format>
|
||||||
|
* `otpauth://totp/<<ISSUER>>:<<ACCOUNT_NAME>>?secret=<<BASE32_KEY>>&issuer=<<ISSUER>>`
|
||||||
|
* `otpauth://totp/<<ISSUER>>:<<ACCOUNT_NAME>>?secret=<<BASE32_KEY>>&issuer=<<ISSUER>>&algorithm=<<ALGO>>&digits=<<INT>>&period=<<SECONDS>>`
|
||||||
|
|
||||||
|
API
|
||||||
|
---
|
||||||
|
|
||||||
### generateKey()
|
### generateKey()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue