daegalus / dart-otp

RFC6238 Time-Based One-Time Password / Google Authenticator Library
MIT License
100 stars 25 forks source link

Calculate Remaining Seconds from Interval value #35

Closed AkbarAsghari closed 2 years ago

AkbarAsghari commented 2 years ago

Remaining Time There is a property that will tell you how much time remains in the current time step window in seconds

AkbarAsghari commented 2 years ago

replace remainSecounds property with remainSecounds() function with default value of interval (30)

daegalus commented 2 years ago

Awesome, thanks, I'll get a new release out tonight when I get home from errands.

daegalus commented 2 years ago

All set, 3.0.2 should have your contribution, thank you