amelchio commented on a change in pull request #504:
URL: https://github.com/apache/guacamole-client/pull/504#discussion_r695186417
##########
File path:
extensions/guacamole-auth-totp/src/main/java/org/apache/guacamole/auth/totp/conf/ConfigurationService.java
##########
@@ -144,6 +156,22 @@ public int getPeriod() throws GuacamoleException {
return environment.getProperty(TOTP_PERIOD, 30);
}
+ /**
+ * Returns the maximun allowed offset between gucamole and TOTP token, in
+ * periodes. If not specified, 0 will be used by default.
Review comment:
A period is the time interval where a particular code is valid, usually
30 seconds.
So an offset of 1 will accept the current code, the previous code and the
following code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]