Comments (2)
Each one-time password has a lifetime that is equals to the interval you set.
For example with 180 sec as interval, today
- at 4:00 PM the OTP is 111111,
- at 4:01 PM is still 111111
- at 4:02 PM is still 111111
- at 4:03 PM is now 222222
- at 4:04 PM is still 222222
- at 4:05 PM is still 222222
- at 4:06 PM is now 333333
- and so on
If you ask to your app an OTP at 4:02 PM, the lifetime of this OTP is 180 sec, but you only have 60 sec to use it.
from otphp.
Ok thanks!
I updated my first question because I meant 120 seconds instead of 60 seconds sorry. Maybe you did the same mistake answering my question.
..."but you only have 60( 120 right? ) sec to use it."...
Anyway I see the point now.
from otphp.
Related Issues (20)
- PHP 8 HOT 2
- new feature made (getExpiration) HOT 4
- OTP verification failed if set custom period HOT 6
- Make setSecret() public HOT 4
- add issuer to getQrCodeUri HOT 1
- Invalid links in the Readme file HOT 1
- TOTP -> verify doesn't seem to be correctly implemented to include leeway HOT 1
- Dependency issue with thecodingmachine/safe HOT 4
- `OTPInterface::create(null|string $secret = null)` is prone to misuse HOT 3
- Missing generate static method in TOTP.php HOT 2
- invalid OTP URI HOT 9
- PSR Clock HOT 3
- TOTP code almost always verifies false HOT 3
- Migration path should be clear for the leeway/window HOT 5
- Authenticator app compatibility HOT 1
- OTPHP not being loaded via autoload HOT 2
- Verification fails with documentation defaults? HOT 2
- TOTP code randomly incorrect HOT 4
- Make InternalClock not @internal? HOT 2
- Error: Label must not contain a colon HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otphp.