I'm going to look to see if there is another way to calculate this (I'm sure there is) but it would be nice if there was a public method on GoogleAuthenticator to return the time that a pin generated would be valid for.
Like I said I'm sure I can do some math but I'm using this as a client and I would like to be able to display a countdown to the user. Yes I know the window size means the number will be larger but I also want to show the new code as soon as it becomes valid.
I'm going to look to see if there is another way to calculate this (I'm sure there is) but it would be nice if there was a public method on GoogleAuthenticator to return the time that a pin generated would be valid for.
Like I said I'm sure I can do some math but I'm using this as a client and I would like to be able to display a countdown to the user. Yes I know the window size means the number will be larger but I also want to show the new code as soon as it becomes valid.